()
| 13 | ) |
| 14 | |
| 15 | type configCommand struct { |
| 16 | cmd *cobra.Command |
| 17 | } |
| 18 | |
| 19 | func newConfigCommand() *configCommand { |
| 20 | configCommand := &configCommand{} |
| 21 | configCommand.cmd = &cobra.Command{ |
| 22 | Use: "config", |
| 23 | Short: "View and change settings", |
| 24 | } |
| 25 | |
| 26 | configCommand.cmd.AddCommand(newConfigShowCommand()) |
| 27 | configCommand.cmd.AddCommand(newConfigSetCommand()) |
| 28 | configCommand.cmd.AddCommand(newConfigTrustLocalCommand()) |
| 29 | configCommand.cmd.AddCommand(newConfigUntrustLocalCommand()) |
no test coverage detected