Command-line application framework.
Example:
```rs use std::env; use rawcmd::{Command, Flag, Intent};
fn resolver1(intent: Intent) { intent.command(); } fn resolver2(intent: Intent) { intent.supcommands(); intent.subcommands(); }
Command::new("cmd1") .withdescription("Command 1") .withflag( Flag::new("flag1") .withalias("f1") .withdescription("Flag 1") .withvalue(true, Some("default")) ) .withsubcommand( Command::new("cmd1:1") .withdescription("Command 1:1") .withflag( Flag::new(flag2) .withalias("f2") .withdescription("Flag 2") ) .withresolver(resolver2) ) .withresolver(resolver1) .perform( env::args().skip(1).collect(), ); ```