diff options
Diffstat (limited to 'examples/zotcli.rs')
-rw-r--r-- | examples/zotcli.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/zotcli.rs b/examples/zotcli.rs index c3cfc8b..672e3ef 100644 --- a/examples/zotcli.rs +++ b/examples/zotcli.rs @@ -60,6 +60,9 @@ fn main() { .long("raw") .help("Display raw json payload"))) .subcommand( + SubCommand::with_name("abconfig") + .about("Fetch abconfig")) + .subcommand( SubCommand::with_name("xchan") .about("Fetch xchan info") .arg(Arg::with_name("raw") @@ -96,6 +99,9 @@ fn main() { let raw = m.is_present("raw"); zot::network_stream::fetch(&client, raw); }, + ("abconfig", _) => { + zot::abconfig::fetch(&client); + }, ("abook", Some(m)) => { let raw = m.is_present("raw"); zot::abook::fetch(&client, raw); |