use std::env::args; use simpleargs::SimpleArgs; fn main() { let sargs = SimpleArgs::new(args().collect::>()); let (cmds, flags, opts) = sargs.parse(); println!("{:?}", cmds); println!("{:?}", flags); println!("{:?}", opts); }