NewCloudCommand returns a cobra command for `cloud` subcommands
()
| 273 | |
| 274 | // NewCloudCommand returns a cobra command for `cloud` subcommands |
| 275 | func NewCloudCommand() *cobra.Command { |
| 276 | cmd := &cobra.Command{ |
| 277 | Use: "cloud", |
| 278 | Short: "Target certification targets commands", |
| 279 | } |
| 280 | |
| 281 | AddCommands(cmd) |
| 282 | |
| 283 | return cmd |
| 284 | } |
| 285 | |
| 286 | // AddCommands adds all subcommands |
| 287 | func AddCommands(cmd *cobra.Command) { |