mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 14:54:15 +00:00
81e121edd6
The strategy is to copy the template from the the reader to wrapped stream until a tag is found. Depending on its value, the appropriate content is copied to the wrapped stream. The copy from template is then resumed, repeating this sequence until reading the complete template. Tags arg given inside curly brackets: Valid tags are: * `{bin}` - Binary name. * `{version}` - Version number. * `{author}` - Author information. * `{usage}` - Automatically generated or given usage string. * `{all-args}` - Help for all arguments (options, flags, positionals arguments, and subcommands) including titles. * `{unified}` - Unified help for options and flags. * `{flags}` - Help for flags. * `{options}` - Help for options. * `{positionals}` - Help for positionals arguments. * `{subcommands}` - Help for subcommands. * `{after-help}` - Help for flags. |
||
---|---|---|
.. | ||
app.yml | ||
app_settings.rs | ||
conflicts.rs | ||
example1_tmpl_full.txt | ||
example1_tmpl_simple.txt | ||
flags.rs | ||
groups.rs | ||
help.rs | ||
hidden_args.rs | ||
multiple_occurrences.rs | ||
multiple_values.rs | ||
new_help.rs | ||
opts.rs | ||
positionals.rs | ||
posix_compatible.rs | ||
possible_values.rs | ||
require.rs | ||
subcommands.rs | ||
tests.rs | ||
unique_args.rs | ||
utf8.rs | ||
version.rs | ||
yaml.rs |