cmd

package
v0.0.0-...-a747857 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Off     = 0
	On      = 1
	Deleted = -1
)

Variables

This section is empty.

Functions

func CreateTaskForTest

func CreateTaskForTest(buf *bytes.Buffer) *bytes.Buffer

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 Exists

func Exists(filename string) bool

func GetDbPath

func GetDbPath() string

func InitDbForTest

func InitDbForTest(buf *bytes.Buffer) *bytes.Buffer

func NewCmdCreate

func NewCmdCreate() *cobra.Command

func NewCmdInit

func NewCmdInit() *cobra.Command

func NewCmdRoot

func NewCmdRoot() *cobra.Command

func NewCmdShow

func NewCmdShow() *cobra.Command

func NewCmdStart

func NewCmdStart() *cobra.Command

func NewCmdStop

func NewCmdStop() *cobra.Command

func StartTaskForTest

func StartTaskForTest(buf *bytes.Buffer) *bytes.Buffer

Types

type Log

type Log struct {
	// contains filtered or unexported fields
}

type Options

type Options struct {
	// contains filtered or unexported fields
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

type Task

type Task struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL