fparkan/vendor/clap/examples
Valentin Popov 1b6a04ca55
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
2024-01-08 01:21:28 +04:00
..
derive_ref Initial vendor packages 2024-01-08 01:21:28 +04:00
tutorial_builder Initial vendor packages 2024-01-08 01:21:28 +04:00
tutorial_derive Initial vendor packages 2024-01-08 01:21:28 +04:00
cargo-example-derive.md Initial vendor packages 2024-01-08 01:21:28 +04:00
cargo-example-derive.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
cargo-example.md Initial vendor packages 2024-01-08 01:21:28 +04:00
cargo-example.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
demo.md Initial vendor packages 2024-01-08 01:21:28 +04:00
demo.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
escaped-positional-derive.md Initial vendor packages 2024-01-08 01:21:28 +04:00
escaped-positional-derive.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
escaped-positional.md Initial vendor packages 2024-01-08 01:21:28 +04:00
escaped-positional.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
find.md Initial vendor packages 2024-01-08 01:21:28 +04:00
find.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
git-derive.md Initial vendor packages 2024-01-08 01:21:28 +04:00
git-derive.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
git.md Initial vendor packages 2024-01-08 01:21:28 +04:00
git.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
multicall-busybox.md Initial vendor packages 2024-01-08 01:21:28 +04:00
multicall-busybox.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
multicall-hostname.md Initial vendor packages 2024-01-08 01:21:28 +04:00
multicall-hostname.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
pacman.md Initial vendor packages 2024-01-08 01:21:28 +04:00
pacman.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
README.md Initial vendor packages 2024-01-08 01:21:28 +04:00
repl.rs Initial vendor packages 2024-01-08 01:21:28 +04:00
typed-derive.md Initial vendor packages 2024-01-08 01:21:28 +04:00
typed-derive.rs Initial vendor packages 2024-01-08 01:21:28 +04:00

Examples

We try to focus our documentation on the four types of documentation. Examples fit into this by providing:

This directory contains the source for the above.

Contributing

New examples should fit within the above structure and support their narrative

  • Add the example to Cargo.toml for any required-features
  • Document how the example works with a .md file which will be verified using trycmd
  • Pull the .rs and .md file into the appropriate module doc comment to be accessible on docs.rs