1 package update 2 3 import ( 4 "edge-infra.dev/pkg/edge/edgecli" 5 "edge-infra.dev/pkg/lib/cli/command" 6 ) 7 8 func NewCmd(cfg *edgecli.Config) *command.Command { 9 cmd := &command.Command{ 10 ShortUsage: "edge update-context", 11 ShortHelp: "Update an existing banner or cluster context in the config file", 12 Commands: []*command.Command{ 13 updateBanner(cfg), 14 updateCluster(cfg), 15 }, 16 } 17 18 return cmd 19 } 20