clap/examples
josh rotenberg ee3eab1614 docs(tutorial): Demonstrate custom parsing
Adds a more in depth validator to validate that the port is in range in the derive and builder tutorial (section 4.2).

This supersedes #3416
2022-02-09 09:16:57 -06:00
..
derive_ref feat: Override DeriveDisplayOrder behavior with App::next_display_order 2022-02-07 19:19:11 -06:00
tutorial_builder docs(tutorial): Demonstrate custom parsing 2022-02-09 09:16:57 -06:00
tutorial_derive docs(tutorial): Demonstrate custom parsing 2022-02-09 09:16:57 -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): Steer people to know about about vs long_about 2022-01-10 18:47:24 -06:00
cargo-example.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
cargo-example.rs docs(examples): Add cargo subcommand example 2021-12-15 12:07:29 -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 docs(examples): Steer people to know about about vs long_about 2022-01-10 18:47:24 -06:00
git.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
git.rs docs: Re-work examples 2021-11-30 21:33:52 -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 refactor(examples): Change naming style 2021-12-15 11:12:18 -06:00
multicall-hostname.md docs: Fix messed up highlighting 2022-01-05 11:53:06 -06:00
multicall-hostname.rs refactor(examples): Change naming style 2021-12-15 11:12:18 -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.