···11# argsh
2233-This is a simple shell wrapper for scripts that handles argument parsing, because argument parsing in bash is a pain in the ass.
33+This is a somewhat simple shell wrapper for scripts that handles argument parsing, because argument parsing in bash is a pain in the ass.
4455## Installation
66···26262727Any additional positional arguments passed to the script get appended after the required arguments.
28282929+Short arguments are supported, but only the first argument that starts with a certain character will be matched by the short argument, for example, with the arguments `foo;fuzz`, `-f` will only match `foo`, to be able to match both with short arguments, override the short argument for `fuzz` like `foo;fuzz:z`, now `-f` will match `foo` and `-z` will match `fuzz`.
3030+**NOTE:** matching is based on order, so an explicit short argument won't take priority over an implicit one that came first, for example, in a case such as `foo;bar:f`, `-f` will still match `foo`, as it is defined first.
3131+2932Optionally, you can set the shell to use as such `bash|name;count;etc`, defaults to `sh` if ommited.
30333131-## Limitations
3232-3333-For the short version of arguments to work properly, all arguments must start with different characters.
3434-3535-Limit of 256 required arguments (if you have anything close to that please use an actual programming language).
3434+There is a limit of 256 required arguments (if you have anything close to that please use an actual programming language).
36353736## Testing
3837