(ch *cmdutil.Helper)
| 6 | ) |
| 7 | |
| 8 | func DeploymentCmd(ch *cmdutil.Helper) *cobra.Command { |
| 9 | deploymentCmd := &cobra.Command{ |
| 10 | Use: "deployment", |
| 11 | Short: "Manage project deployments", |
| 12 | } |
| 13 | |
| 14 | deploymentCmd.AddCommand(ListCmd(ch)) |
| 15 | deploymentCmd.AddCommand(ShowCmd(ch)) |
| 16 | deploymentCmd.AddCommand(CreateCmd(ch)) |
| 17 | deploymentCmd.AddCommand(DeleteCmd(ch)) |
| 18 | deploymentCmd.AddCommand(StartCmd(ch)) |
| 19 | deploymentCmd.AddCommand(StopCmd(ch)) |
| 20 | return deploymentCmd |
| 21 | } |