Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddCmd = &cobra.Command{
Use: "add",
Short: "新建命令",
Run: runStore,
}
View Source
var DeleteCmd = &cobra.Command{ Use: "delete", Short: "删除命令", Run: runDelete, Args: cobra.ExactArgs(1), }
View Source
var ListCmd = &cobra.Command{
Use: "list",
Short: "列出所有命令",
Run: runList,
}
View Source
var RunCmd = &cobra.Command{ Use: "run", Short: "运行命令", Run: runCmd, Args: cobra.ExactArgs(1), }
View Source
var UpdateCmd = &cobra.Command{ Use: "update", Short: "更新命令", Run: runUpdate, Args: cobra.ExactArgs(1), }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.