We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dabfc0b commit 5fb9d88Copy full SHA for 5fb9d88
node/src/bin/space-cli.rs
@@ -80,6 +80,9 @@ enum Commands {
80
#[arg(default_value = "default")]
81
name: String,
82
},
83
+ /// Export a wallet
84
+ #[command(name = "getserverinfo")]
85
+ GetServerInfo,
86
/// Open an auction
87
Open {
88
/// Space name
@@ -433,6 +436,10 @@ async fn handle_commands(
433
436
let result = cli.client.wallet_get_info(name).await?;
434
437
println!("{}", serde_json::to_string_pretty(&result).expect("result"));
435
438
}
439
+ Commands::GetServerInfo => {
440
+ let result = cli.client.get_server_info().await?;
441
+ println!("{}", serde_json::to_string_pretty(&result).expect("result"));
442
+ }
443
Commands::Open {
444
ref space,
445
initial_bid,
0 commit comments