Add ui spec for viewing entries
This commit is contained in:
parent
d8071a5624
commit
7f4a721897
1 changed files with 12 additions and 0 deletions
|
@ -91,5 +91,17 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||||
.required(false)
|
.required(false)
|
||||||
.help("Do not ask for confirmation."))
|
.help("Do not ask for confirmation."))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
.subcommand(SubCommand::with_name("view")
|
||||||
|
.about("View entries, currently only supports plain viewing")
|
||||||
|
.version("0.1")
|
||||||
|
|
||||||
|
.arg(Arg::with_name("show-header")
|
||||||
|
.long("header")
|
||||||
|
.takes_value(false)
|
||||||
|
.required(false)
|
||||||
|
.help("Show the header when printing the entries"))
|
||||||
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue