aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/zotcli.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/examples/zotcli.rs b/examples/zotcli.rs
index 2804754..6b3a97b 100644
--- a/examples/zotcli.rs
+++ b/examples/zotcli.rs
@@ -17,11 +17,18 @@
extern crate zotapi;
extern crate dotenv;
-#[macro_use]
extern crate clap;
extern crate serde_json;
-use clap::{Arg, SubCommand};
+use clap::{
+ Arg,
+ app_from_crate,
+ crate_name,
+ crate_version,
+ crate_authors,
+ crate_description,
+ SubCommand
+};
use dotenv::dotenv;
use std::env;