summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.rs')
-rw-r--r--cli/src/cli.rs16
1 files changed, 14 insertions, 2 deletions
diff --git a/cli/src/cli.rs b/cli/src/cli.rs
index 058b649..ee8d608 100644
--- a/cli/src/cli.rs
+++ b/cli/src/cli.rs
@@ -51,6 +51,20 @@ pub fn app<'a>() -> App<'a> {
)
)
+ .subcommand(App::new("cat")
+ .author(crate_authors!())
+ .version(crate_version!())
+ .about("Read complete timeline of profile")
+
+ .arg(Arg::new("name")
+ .long("name")
+ .required(true)
+ .takes_value(true)
+ .value_name("NAME")
+ .about("Name of the profile")
+ )
+ )
+
.subcommand(App::new("post")
.author(crate_authors!())
.version(crate_version!())
@@ -84,8 +98,6 @@ pub fn app<'a>() -> App<'a> {
.args(&["text", "editor"])
.required(true) // one must be present
)
-
-
)
)