aboutsummaryrefslogtreecommitdiff
path: root/vendor/clap/src/_tutorial/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap/src/_tutorial/mod.rs')
-rw-r--r--vendor/clap/src/_tutorial/mod.rs36
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/clap/src/_tutorial/mod.rs b/vendor/clap/src/_tutorial/mod.rs
new file mode 100644
index 0000000..1683230
--- /dev/null
+++ b/vendor/clap/src/_tutorial/mod.rs
@@ -0,0 +1,36 @@
+// Contributing
+//
+// New example code:
+// - Please update the corresponding section in the derive tutorial
+// - Building: They must be added to `Cargo.toml` with the appropriate `required-features`.
+// - Testing: Ensure there is a markdown file with [trycmd](https://docs.rs/trycmd) syntax
+//
+// See also the general CONTRIBUTING
+
+//! # Documentation: Builder Tutorial
+//!
+//! 1. [Quick Start][chapter_0]
+//! 2. [Configuring the Parser][chapter_1]
+//! 3. [Adding Arguments][chapter_2]
+//! 1. [Positionals][chapter_2#positionals]
+//! 2. [Options][chapter_2#options]
+//! 3. [Flags][chapter_2#flags]
+//! 4. [Subcommands][chapter_2#subcommands]
+//! 5. [Defaults][chapter_2#defaults]
+//! 4. [Validation][chapter_3]
+//! 1. [Enumerated values][chapter_3#enumerated-values]
+//! 2. [Validated values][chapter_3#validated-values]
+//! 3. [Argument Relations][chapter_3#argument-relations]
+//! 4. [Custom Validation][chapter_3#custom-validation]
+//! 5. [Testing][chapter_4]
+//! 6. [Next Steps][chapter_5]
+
+#![allow(unused_imports)]
+use crate::builder::*;
+
+pub mod chapter_0;
+pub mod chapter_1;
+pub mod chapter_2;
+pub mod chapter_3;
+pub mod chapter_4;
+pub mod chapter_5;