summaryrefslogtreecommitdiffstats
path: root/imag-todo
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-06 19:52:00 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-06 19:59:29 +0200
commit84890bf8fc620c16ca861fcb8cb50bd3008c1c78 (patch)
tree49f694830d085ab3c3d676cc28a9c526df36cfcb /imag-todo
parent247cda035296b519802714e4228913014a052dbb (diff)
Rip out ui setup for "add" subcommand
Diffstat (limited to 'imag-todo')
-rw-r--r--imag-todo/src/ui.rs43
1 files changed, 0 insertions, 43 deletions
diff --git a/imag-todo/src/ui.rs b/imag-todo/src/ui.rs
index 507f4379..7ec89d39 100644
--- a/imag-todo/src/ui.rs
+++ b/imag-todo/src/ui.rs
@@ -27,49 +27,6 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.required(true))
)
- .subcommand(SubCommand::with_name("add")
- .about("create a task")
- .version("0.1")
-
- .arg(Arg::with_name("description")
- .long("description")
- .short("d")
- .takes_value(true)
- .required(true)
- .help("Name/Description of the new task")
- )
-
- .arg(Arg::with_name("priority")
- .long("priority")
- .short("p")
- .takes_value(true)
- .required(false)
- .help("One of l, m, h for low, medium and high priority")
- )
-
- .arg(Arg::with_name("project")
- .long("project")
- .takes_value(true)
- .required(false)
- .help("Name of the project the task is related to")
- )
-
- .arg(Arg::with_name("due")
- .long("due")
- .takes_value(true)
- .required(false)
- .help("Due date of the new task")
- )
-
- .arg(Arg::with_name("frequency")
- .long("frequency")
- .short("f")
- .takes_value(true)
- .required(false)
- .help("Frequency of the recurrence of a task")
- )
- )
-
.subcommand(SubCommand::with_name("list")
.about("List all tasks")
.version("0.1")