summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 4df70fa..21b27e8 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -43,4 +43,18 @@ pub fn app<'a>() -> App<'a> {
.help("Post this TEXT as text/text")
)
)
+
+ .subcommand(App::new("get")
+ .author(crate_authors!())
+ .version(crate_version!())
+ .about("Get block")
+ .arg(Arg::with_name("head")
+ .index(1)
+ .multiple(false)
+ .takes_value(true)
+ .required(true)
+ .value_name("HEAD")
+ .help("Get HEAD block")
+ )
+ )
}