Drafting ctl controller
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
agentcmd "example.com/monok8s/pkg/cmd/agent"
|
||||
checkconfigcmd "example.com/monok8s/pkg/cmd/checkconfig"
|
||||
controllercmd "example.com/monok8s/pkg/cmd/controller"
|
||||
createcmd "example.com/monok8s/pkg/cmd/create"
|
||||
initcmd "example.com/monok8s/pkg/cmd/initcmd"
|
||||
internalcmd "example.com/monok8s/pkg/cmd/internal"
|
||||
@@ -45,6 +46,7 @@ func NewRootCmd() *cobra.Command {
|
||||
checkconfigcmd.NewCmdCheckConfig(),
|
||||
createcmd.NewCmdCreate(),
|
||||
agentcmd.NewCmdAgent(flags),
|
||||
controllercmd.NewCmdController(flags),
|
||||
internalcmd.NewCmdInternal(),
|
||||
)
|
||||
return cmd
|
||||
|
||||
Reference in New Issue
Block a user