...
1 package clusterconfig
2
3 import (
4 "edge-infra.dev/pkg/edge/edgecli"
5 "edge-infra.dev/pkg/edge/edgecli/commands/clusterconfig/listclusterconfig"
6 "edge-infra.dev/pkg/edge/edgecli/commands/clusterconfig/modifyclusterconfig"
7 "edge-infra.dev/pkg/lib/cli/command"
8 )
9
10 func NewCmd(cfg *edgecli.Config) *command.Command {
11 return &command.Command{
12 ShortUsage: "edge clusterconfig",
13 ShortHelp: "Commands to create/update cluster config (pxe boot options)",
14
15 Commands: []*command.Command{
16 listclusterconfig.NewCmd(cfg),
17 modifyclusterconfig.NewCmd(cfg),
18 },
19 }
20 }
21
View as plain text