Function parse_args
Source pub fn parse_args() -> CliArgs
Expand description
Parse CLI arguments from the command line
§Examples
ⓘuse oxi_cli::CliArgs;
fn main() {
let args = CliArgs::parse();
match args.command {
Some(Commands::Sessions) => { }
Some(Commands::Tree { session_id }) => { }
_ => { }
}
}