1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Smallest complete Argx application: derive [`Parser`] and call [`Parser::parse`]. //! //! Run it with: //! //! ```text //! cargo run --example basic -- --help //! ``` use argx::Parser; /// Minimal command with no application-defined arguments. #[derive(Debug, Parser)] struct Cli; fn main() { let _cli = Cli::parse(); }