Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendDBTypes ¶
func AppendDBTypes(p *flags.Parser)
AppendDBTypes populates choices for DBType option
Types ¶
type Opts ¶
type Opts struct { InitDB *initDB `command:"init-db" description:"Initialize an empty database"` MigrateDB *migrateDB `command:"migrate-db" description:"Migrate existing database"` AddTask *addTask `command:"add" description:"Add a new task" alias:"new" alias:"new-task"` ListTask *listTask `command:"list" description:"List tasks"` CompleteTask *completeTask `command:"done" description:"Complete a task" alias:"complete" alias:"close"` DeleteTask *deleteTask `command:"delete" description:"Delete a task" alias:"cancel" alias:"remove" alias:"erase"` }
Opts is the list of commands and options
Click to show internal directories.
Click to hide internal directories.