Crates.io | subcmd |
lib.rs | subcmd |
version | 0.1.0 |
source | src |
created_at | 2015-12-14 21:54:34.230441 |
updated_at | 2016-10-29 15:59:20.511101 |
description | Cargo like subcommand parser |
homepage | https://github.com/samdolt/subcmd-rs/ |
repository | https://github.com/samdolt/subcmd-rs/ |
max_upload_size | |
id | 3631 |
size | 22,169 |
This library help to build an app that use a similar command line interface as Cargo or Git:
$ myproject build --with --some --option
$ myproject clean
$ myproject --help
i.e. Automaticaly pass argv to a corresponding subcommand (here build or clean).
myproject --help
and myproject -h
Subcommand help with myproject help subcommand
Search for myproject-cmd-subcommand
in the $PATH if there is no built-in subcommand.
Allow project wide option like myproject --verbose clean
instead of myproject clean --verbose