Over 84.6% of Bash scripts you can find on the Internet don't accept command-line arguments, which greatly limits their usefulness. This has a reason - Bash doesn't make command-line argument parsing easy.
Argbash is a code generator - write a short definition and let Argbash modify your script so it magically starts to expose a command-line interface to your users and arguments passed using this interface as variables.Teach your script arguments!
Sit back, grab a coffee, and enjoy the video of the conference talk below. Let yourself to be told about why Argbash was created and what it can do for you — watch the presentation from the OpenAlt conference.
If you are not interested in the whole and you want to get straight to the point, you can go right to the introduction, overview about arguments processing in Bash, tour over Argbash features, and finally towards the Argbash demo.
Teach your script to parse positional and optional arguments in a way that meet other's expectations
Use argbash to modify your script directly, or get a tailor-made argument parsing library you only have to include
Use this awesome tool online here on argbash.io, or install it on your computer
Stay tuned - more features are about to come!