#[derive(Parser)] { // Attributes available to this derive: #[arg] #[command] }
Derive macro generating top-level Parser implementation.
Parser
This macro currently only accepts non-generic structs, and is a superset of Args. derive(Args) must NOT be used if there is already derive(Parser).
struct
Args
derive(Args)
derive(Parser)
All attributes supported on the struct are identical to Args.