tomocafe / bash-boost

bash-boost is a set of library functions for bash, useful for both scripting and interactive use. It draws inspiration from the Boost C++ libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make an alias for parsing arguments

tomocafe opened this issue · comments

Should handle the whole boilerplate:

bb_parseargs "$@"
set -- "${BB_POSARGS[@]}"
unset BB_POSARGS

Added bb_processargs but you have to turn on expand_aliases to use it in a script.