Available on crate feature
unstable-doc
only.Expand description
§Documentation: Cookbook
Typed arguments: derive
- Topics:
- Custom
parse()
- Custom
Custom cargo command: builder, derive
- Topics:
- Subcommands
- Cargo plugins
- custom terminal styles (colors)
find-like interface: builder
- Topics:
- Position-sensitive flags
git-like interface: builder, derive
- Topics:
- Subcommands
- External subcommands
- Optional subcommands
- Default subcommands
last
pacman-like interface: builder
- Topics:
- Flag subcommands
- Conflicting arguments
Escaped positionals with --
: builder, derive
Multi-call
- Topics:
- Read-Eval-Print Loops / Custom command lines
Modules§
- Example: cargo subcommand (Builder API)
- Example: cargo subcommand (Derive API)
- Example (Builder API)
- Example (Derive API)
- Example: find-like CLI (Builder API)
- Example: git-like CLI (Builder API)
- Example: git-like CLI (Derive API)
- Example: busybox-like CLI (Builder API)
- Example: hostname-like CLI (Builder API)
- Example: pacman-like CLI (Builder API)
- Example: Command REPL (Builder API)
- Example: REPL (Derive API)
- Example: Custom Types (Derive API)