Skip to main content

Module args

Module args 

Source

Structs§

AfpayCli
ArgInfo
Describes a single CLI argument extracted from clap definitions.
CliError
CliRequest
DataOp
InteractiveInit
PipeInit

Enums§

DataOpKind
InteractiveFrontend
Mode

Functions§

parse_args
parse_subcommand
Parse a subcommand from args (e.g. ["cashu", "send", "--amount-sats", "100"]). Used by interactive mode to reuse CLI command definitions.
subcommand_args
Return the list of user-facing arguments for a subcommand path.
subcommand_help
Render clap help for the given args (e.g. &["--help"], &["cashu", "--help"]).