clap/examples/demo.md

25 lines
704 B
Markdown
Raw Normal View History

*Jump to [source](demo.rs)*
2021-11-30 03:05:42 +00:00
Used to validate README.md's content
```bash
$ demo --help
clap [..]
Kevin K. <kbknapp@gmail.com>, Clap Maintainers
A simple to use, efficient, and full-featured Command Line Argument Parser
USAGE:
demo[EXE] [OPTIONS] <INPUT>
ARGS:
<INPUT> Some input. Because this isn't an Option<T> it's required to be used
OPTIONS:
-c, --config <PATH> Sets a custom config file. Could have been an Option<T> with no default
too [default: default.toml]
-h, --help Print help information
-v, --verbose A level of verbosity, and can be used multiple times
-V, --version Print version information
```