]>
Commit | Line | Data |
---|---|---|
49aad941 FG |
1 | // Contributing |
2 | // | |
3 | // New examples: | |
4 | // - Building: They must be added to `Cargo.toml` with the appropriate `required-features`. | |
5 | // - Testing: Ensure there is a markdown file with [trycmd](https://docs.rs/trycmd) syntax | |
6 | // - Link the `.md` file from here | |
7 | ||
8 | //! # Documentation: Cookbook | |
9 | //! | |
10 | //! Typed arguments: [derive][typed_derive] | |
11 | //! - Topics: | |
12 | //! - Custom `parse()` | |
13 | //! | |
14 | //! Custom cargo command: [builder][cargo_example], [derive][cargo_example_derive] | |
15 | //! - Topics: | |
16 | //! - Subcommands | |
17 | //! - Cargo plugins | |
18 | //! | |
19 | //! find-like interface: [builder][find] | |
20 | //! - Topics: | |
21 | //! - Position-sensitive flags | |
22 | //! | |
23 | //! git-like interface: [builder][git], [derive][git_derive] | |
24 | //! - Topics: | |
25 | //! - Subcommands | |
26 | //! - External subcommands | |
27 | //! - Optional subcommands | |
28 | //! - Default subcommands | |
29 | //! - [`last`][crate::Arg::last] | |
30 | //! | |
31 | //! pacman-like interface: [builder][pacman] | |
32 | //! - Topics: | |
33 | //! - Flag subcommands | |
34 | //! - Conflicting arguments | |
35 | //! | |
36 | //! Escaped positionals with `--`: [builder][escaped_positional], [derive][escaped_positional_derive] | |
37 | //! | |
38 | //! Multi-call | |
39 | //! - busybox: [builder][multicall_busybox] | |
40 | //! - Topics: | |
41 | //! - Subcommands | |
42 | //! - hostname: [builder][multicall_hostname] | |
43 | //! - Topics: | |
44 | //! - Subcommands | |
45 | //! | |
46 | //! repl: [builder][repl] | |
47 | //! - Topics: | |
48 | //! - Read-Eval-Print Loops / Custom command lines | |
49 | ||
50 | pub mod cargo_example; | |
51 | pub mod cargo_example_derive; | |
52 | pub mod escaped_positional; | |
53 | pub mod escaped_positional_derive; | |
54 | pub mod find; | |
55 | pub mod git; | |
56 | pub mod git_derive; | |
57 | pub mod multicall_busybox; | |
58 | pub mod multicall_hostname; | |
59 | pub mod pacman; | |
60 | pub mod repl; | |
61 | pub mod typed_derive; |