Home

Awesome

bash-args

A cute little Bash library for blazing fast argument parsing

STATUS: IN DEVELOPMENT!

Summary

Usage

barg.define_flags \
	one \
		'--alfa' '-a' '|bool|' 'desc' \
		'--bravo' '' 'i' 'desc' \
		'' '-charlie' 'i' 'desc' \
		END \
	subcommand \
		END

barg.parse_flags "$@"

Installation

Use Basalt, a Bash package manager, to add this project as a dependency

basalt add hyperupcall/bash-args