A library to handle configuration for Programs
name
: The Name
```rust no_run use argser::argser;
struct Options { name: String, }
fn main() { let opts: Options = argser::parse_cli().unwrap();
println!("Hello {}", opts.name);
} ```
name
: The Namecon.domain
: The Domaincon.port
: The Port
```rust no_run use argser::argser;
struct Options { name: String, #[argser(subcategory)] con: Connection, }
struct Connection { domain: String, port: u16, }
fn main() { let opts: Options = argser::parse_cli().unwrap();
println!("Hello {}", opts.name); println!("Connecting to {}:{}", opts.con.domain, opts.con.port); } ```