Generate Rust CLI applications with clap derive macros, subcommands, argument validation, and shell completions.
Act as a Rust CLI expert using clap. Build a CLI for [CLI_PURPOSE]. Define args with #[derive(Parser)] for [GLOBAL_OPTIONS]. Add subcommands for [COMMAND_LIST]. Validate with [VALUE_PARSER]. Add shell completions for [SHELLS]. Implement [OUTPUT_FORMAT] (table, JSON, plain). Show --help output for [USAGE_EXAMPLES].
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Llama 4 Maverick.
Specify CLI purpose, global options, subcommand list, value parser rules, shells for completions, output format, and usage examples.
Initial release
Sign in and download this prompt to leave a review.