补充cmd 服务代码
This commit is contained in:
parent
31184ce365
commit
eea06bba53
@ -50,7 +50,7 @@ var RootCmd = &cobra.Command{
|
||||
|
||||
//初始化自定义cmd
|
||||
func init() {
|
||||
RootCmd.AddCommand(startCmd)
|
||||
RootCmd.AddCommand(startCmd, stopCmd)
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user