()
| 15 | ) |
| 16 | |
| 17 | func NewRootCmd() *cobra.Command { |
| 18 | cmd := &cobra.Command{ |
| 19 | Use: "config", |
| 20 | Short: "Manage app configurations", |
| 21 | } |
| 22 | |
| 23 | cmd.AddCommand(newAppCmd(), removeAppCmd(), listAppsCmd(), setAppDefaultCmd()) |
| 24 | |
| 25 | return cmd |
| 26 | } |
| 27 | |
| 28 | func newAppCmd() *cobra.Command { |
| 29 | return &cobra.Command{ |
nothing calls this directly
no test coverage detected