Skip to main content

parse_subcommand

Function parse_subcommand 

Source
pub fn parse_subcommand(args: &[&str], id: &str) -> Result<Input, String>
Expand description

Parse a subcommand from args (e.g. ["cashu", "send", "--amount-sats", "100"]). Used by interactive mode to reuse CLI command definitions.