Major refactoring
This commit is contained in:
8
main.go
8
main.go
@@ -99,6 +99,14 @@ func main() {
|
||||
|
||||
rootCmd.AddCommand(certCmd)
|
||||
|
||||
rootCmd.AddCommand(&cobra.Command{
|
||||
Use: "executor",
|
||||
Short: "Privileged daemon",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return commands.StartExecutorCmd()
|
||||
},
|
||||
})
|
||||
|
||||
daemonCmd := &cobra.Command{
|
||||
Use: "daemon",
|
||||
Short: "Daemon management",
|
||||
|
||||
Reference in New Issue
Block a user