Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccountCmd = &cobra.Command{
Use: "account",
Short: "Manage accounts",
RunE: runAccount,
}
AccountCmd is the command to manage accounts.
View Source
var ErrTaskNotExist = fmt.Errorf("task does not exist")
View Source
var InitCmd = &cobra.Command{
Use: "init",
Short: "Initialize a new config",
RunE: runInit,
}
InitCmd is the command to initialize a new config.
View Source
var ResetCmd = &cobra.Command{
Use: "reset",
Short: "Reset the configuration",
Long: `
This command deletes the 'builder.db' file and resets the config to its default values.
`,
RunE: runResetCmd,
}
ResetCmd is the command to reset the config.
View Source
var RootCmd = &cobra.Command{ Use: "builder", Short: "builder", Version: fmt.Sprintf(versionFmt, version, commit, date), }
View Source
var TaskCmd = &cobra.Command{
Use: "task",
Short: "Manage tasks",
}
View Source
var TaskNewCmd = &cobra.Command{
Use: "new name",
Short: "Create a new task [name]",
RunE: createNewTask,
}
View Source
var TaskWorkCmd = &cobra.Command{
Use: "work name",
Short: "Work on a task [name]",
RunE: workOnTask,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.