You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre><codeclass="language-toml">[dependencies]
structopt = { version = "0.3", features = [ "paw" ] }
paw = "1.0"
</code></pre>
Docs for clap
Rendered
DOM
<pre><codeclass="language-yaml">name: myapp
version: "1.0"
author: Kevin K. <kbknapp@gmail.com>
about: Does awesome things
args:
- config:
short: c
long: config
value_name: FILE
help: Sets a custom config file
takes_value: true
- INPUT:
help: Sets the input file to use
required: true
index: 1
- verbose:
short: v
multiple: true
help: Sets the level of verbosity
subcommands:
- test:
about: controls testing features
version: "1.3"
author: Someone E. <someone_else@other.com>
args:
- debug:
short: d
help: print debug information
</code></pre>
Here are some examples:
Docs for
structopt
Rendered
DOM
Docs for
clap
Rendered
DOM
@rustbot modify labels: T-rustdoc C-bug
The text was updated successfully, but these errors were encountered: