devel/argc 1.22.0_2 DragonFly
Easily parse command line arguments in bash
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20, MIT
- Categories
- devel
- Package size
- 361.1 KiB, 992.7 KiB installed
Description
argc allows to easily parse command line arguments in bash.
To write a command-line program with argc, we only need to do two things:
- Describe options, flags, positional parameters and subcommands in comments.
- Insert `eval $(argc "$0" "$@")` into script to let argc to parse command line arguments.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/argc | 1.22.0_2 |
| FreeBSD | devel/argc | 1.24.0_4 |
| HardenedBSD | devel/argc | 1.24.0_3 |
| GhostBSD | devel/argc | 1.24.0_3 |
Install
Binary package:
pkg install argc
From DPorts:
cd /usr/dports/devel/argc && make install clean
Dependencies
No port depends on this one.