|
|
@ -187,6 +187,27 @@ app.Commands = []cli.Command{
|
|
|
|
println("completed task: ", c.Args().First())
|
|
|
|
println("completed task: ", c.Args().First())
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Name: "template",
|
|
|
|
|
|
|
|
ShortName: "r",
|
|
|
|
|
|
|
|
Usage: "options for task templates",
|
|
|
|
|
|
|
|
Subcommands: []cli.Command{
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Name: "add",
|
|
|
|
|
|
|
|
Usage: "add a new template",
|
|
|
|
|
|
|
|
Action: func(c *cli.Context) {
|
|
|
|
|
|
|
|
println("new task template: ", c.Args().First())
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Name: "remove",
|
|
|
|
|
|
|
|
Usage: "remove an existing template",
|
|
|
|
|
|
|
|
Action: func(c *cli.Context) {
|
|
|
|
|
|
|
|
println("removed task template: ", c.Args().First())
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
...
|
|
|
|
...
|
|
|
|
```
|
|
|
|
```
|
|
|
|