Documentation ¶
Index ¶
- Constants
- func CreateTaskForTest(buf *bytes.Buffer) *bytes.Buffer
- func Execute()
- func Exists(filename string) bool
- func GetDbPath() string
- func InitDbForTest(buf *bytes.Buffer) *bytes.Buffer
- func NewCmdCreate() *cobra.Command
- func NewCmdInit() *cobra.Command
- func NewCmdRoot() *cobra.Command
- func NewCmdShow() *cobra.Command
- func NewCmdStart() *cobra.Command
- func NewCmdStop() *cobra.Command
- func StartTaskForTest(buf *bytes.Buffer) *bytes.Buffer
- type Log
- type Options
- type Result
- type Task
Constants ¶
View Source
const ( Off = 0 On = 1 Deleted = -1 )
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCmdCreate ¶
func NewCmdInit ¶
func NewCmdRoot ¶
func NewCmdShow ¶
func NewCmdStart ¶
func NewCmdStop ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.