Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddCommand = cli.Command{ Name: "add", Aliases: []string{"a"}, Usage: "Add a todo item", Action: addTodo, Flags: []cli.Flag{ &cli.StringFlag{ Name: "desc", Usage: "Description of the todo item", }, }, }
Command to add a todo item
View Source
var DeleteCommand = cli.Command{ Name: "delete", Aliases: []string{"d"}, Usage: "Delete a todo item", Action: deleteTodo, }
Command to delete a todo item
View Source
var ShowCommand = cli.Command{ Name: "show", Aliases: []string{"s"}, Usage: "Show a todo items", Action: showTodo, }
Command to show all todo items
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.