Make beautiful bash cli with ease.

To write a command-line program with Argc, we only need to do two things:
sh
eval "$(argc $0 "$@")"
Argc will do the following for us:
We can easily access the corresponding option or parameter through the variable $argc_<name>.
Try examples/demo.sh your self.
cargo install argc
Download from Github Releases, unzip and add argc to your $PATH.
Argc generates parsing rules and help documentation based on tags (fields marked with @ in comments).
```sh @describe [string]
```
Define description
```sh @version [string]
```
Define version
```sh @author [string]
```
Define author
```sh @help [false|string]
``` Customize help subcommand.
# @help false# @help Print help information```sh @cmd [string]
upload() { }
download() { } ``` Define subcommand
```sh @alias name(,name)+
test() { } ``` Define alias for a subcommand
```sh @option [short] [long][modifer] [notation] [string]
## @option --foo A option
## @option -f --foo A option with short alias
## @option --foo
Define value option
The symbol after the long option name is the modifier
*: occur multiple times, optional+: occur multiple times, required!: required=value: default value[a|b|c]: choices[=a|b|c]: choices, first is default.![a|b|c]: choices, requiredUsed to indicate that the option is a value option, other than a flag option.
If not provided, the option name is used as a placeholder by default.
You can use placeholder hint option value types <NUM>, <PATH>, <PATTERN>, <DATE>
```sh @flag [short] [long] [help string]
```
Define flag option
```sh
@arg
``` Define positional argument
arg's modifier is same to option's modifier
Copyright (c) 2022 argc-developers.
argc is made available under the terms of either the MIT License or the Apache License 2.0, at your option.
See the LICENSE-APACHE and LICENSE-MIT files for license details.