doc(example_cli): add missing cli docs

This commit is contained in:
vmammal 2024-01-17 13:58:40 -05:00
parent 40f0765d30
commit c4d5f2ccd8
No known key found for this signature in database

View File

@ -73,7 +73,9 @@ pub enum Commands<CS: clap::Subcommand, S: clap::Args> {
}, },
/// Send coins to an address. /// Send coins to an address.
Send { Send {
/// Amount to send in satoshis
value: u64, value: u64,
/// Destination address
address: Address<address::NetworkUnchecked>, address: Address<address::NetworkUnchecked>,
#[clap(short, default_value = "bnb")] #[clap(short, default_value = "bnb")]
coin_select: CoinSelectionAlgo, coin_select: CoinSelectionAlgo,
@ -144,14 +146,17 @@ pub enum AddressCmd {
New, New,
/// List all addresses /// List all addresses
List { List {
/// List change addresses
#[clap(long)] #[clap(long)]
change: bool, change: bool,
}, },
/// Get last revealed address index for each keychain.
Index, Index,
} }
#[derive(Subcommand, Debug, Clone)] #[derive(Subcommand, Debug, Clone)]
pub enum TxOutCmd { pub enum TxOutCmd {
/// List transaction outputs.
List { List {
/// Return only spent outputs. /// Return only spent outputs.
#[clap(short, long)] #[clap(short, long)]