clap/examples
Ed Page 272f840178 feat: Replace core set of AppSettings with functions
This is a part of #2717

Some settings didn't get getters because
- They are transient parse settings (e.g. ignore errors)
- They get propagated to args and should be checked there

`is_allow_hyphen_values_set` is a curious case.  In some cases, we only
check the app and not an arg.  This seems suspicious.
2022-02-11 12:35:09 -06:00
..
derive_ref feat: Override DeriveDisplayOrder behavior with App::next_display_order 2022-02-07 19:19:11 -06:00
tutorial_builder feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
tutorial_derive feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
cargo-example-derive.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
cargo-example-derive.rs docs(examples): Add missing feature flag reqs 2022-02-11 07:07:03 -06:00
cargo-example.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
cargo-example.rs feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
demo.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
demo.rs docs(examples): Steer people to know about about vs long_about 2022-01-10 18:47:24 -06:00
escaped-positional-derive.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
escaped-positional-derive.rs docs(examples): Steer people to know about about vs long_about 2022-01-10 18:47:24 -06:00
escaped-positional.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
escaped-positional.rs refactor(examples): Change naming style 2021-12-15 11:12:18 -06:00
git-derive.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
git-derive.rs feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
git.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
git.rs feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
keyvalue-derive.md test: Update 2022-02-07 13:28:48 -06:00
keyvalue-derive.rs refactor(examples): Change naming style 2021-12-15 11:12:18 -06:00
multicall-busybox.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
multicall-busybox.rs feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
multicall-hostname.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
multicall-hostname.rs feat: Replace core set of AppSettings with functions 2022-02-11 12:35:09 -06:00
pacman.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
pacman.rs docs: Re-work examples 2021-11-30 21:33:52 -06:00
README.md docs(examples): Add cargo subcommand example 2021-12-15 12:07:29 -06:00

Examples

Contributing

New examples:

  • Building: They must be added to Cargo.toml with the appropriate required-features.
  • Testing: Ensure there is a markdown file with trycmd syntax
  • Link the .md file from here

See also the general CONTRIBUTING.