• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 //! git-like interface: [builder][git], [derive][git_derive]
20 //! - Topics:
21 //!   - Subcommands
22 //!   - External subcommands
23 //!   - Optional subcommands
24 //!   - Default subcommands
25 //!
26 //! pacman-like interface: [builder][pacman]
27 //! - Topics:
28 //!   - Flag subcommands
29 //!   - Conflicting arguments
30 //!
31 //! Escaped positionals with `--`: [builder][escaped_positional], [derive][escaped_positional_derive]
32 //!
33 //! Multi-call
34 //! - busybox: [builder][multicall_busybox]
35 //!   - Topics:
36 //!     - Subcommands
37 //! - hostname: [builder][multicall_hostname]
38 //!   - Topics:
39 //!     - Subcommands
40 //!
41 //! repl: [builder][repl]
42 //! - Topics:
43 //!   - Read-Eval-Print Loops / Custom command lines
44 
45 pub mod cargo_example;
46 pub mod cargo_example_derive;
47 pub mod escaped_positional;
48 pub mod escaped_positional_derive;
49 pub mod git;
50 pub mod git_derive;
51 pub mod multicall_busybox;
52 pub mod multicall_hostname;
53 pub mod pacman;
54 pub mod repl;
55 pub mod typed_derive;
56