1 // Contributing 2 // 3 // New example code: 4 // - Please update the corresponding section in the derive tutorial 5 // - Building: They must be added to `Cargo.toml` with the appropriate `required-features`. 6 // - Testing: Ensure there is a markdown file with [trycmd](https://docs.rs/trycmd) syntax 7 // 8 // See also the general CONTRIBUTING 9 10 //! # Documentation: Builder Tutorial 11 //! 12 //! 1. [Quick Start][chapter_0] 13 //! 2. [Configuring the Parser][chapter_1] 14 //! 3. [Adding Arguments][chapter_2] 15 //! 1. [Positionals][chapter_2#positionals] 16 //! 2. [Options][chapter_2#options] 17 //! 3. [Flags][chapter_2#flags] 18 //! 4. [Subcommands][chapter_2#subcommands] 19 //! 5. [Defaults][chapter_2#defaults] 20 //! 4. [Validation][chapter_3] 21 //! 1. [Enumerated values][chapter_3#enumerated-values] 22 //! 2. [Validated values][chapter_3#validated-values] 23 //! 3. [Argument Relations][chapter_3#argument-relations] 24 //! 4. [Custom Validation][chapter_3#custom-validation] 25 //! 5. [Testing][chapter_4] 26 //! 6. [Next Steps][chapter_5] 27 28 #![allow(unused_imports)] 29 use crate::builder::*; 30 31 pub mod chapter_0; 32 pub mod chapter_1; 33 pub mod chapter_2; 34 pub mod chapter_3; 35 pub mod chapter_4; 36 pub mod chapter_5; 37