Merge pull request #188 from justinsb/fix_update_command

Add update command to update parent command
This commit is contained in:
Justin Santa Barbara 2016-07-22 01:13:56 -04:00 committed by GitHub
commit ffb2ba0ed0
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ func init() {
}, },
} }
updateCmd.AddCommand(cmd)
cmd.Flags().BoolVar(&updateCluster.Yes, "yes", false, "Actually create cloud resources") cmd.Flags().BoolVar(&updateCluster.Yes, "yes", false, "Actually create cloud resources")
cmd.Flags().StringVar(&updateCluster.Target, "target", "direct", "Target - direct, terraform") cmd.Flags().StringVar(&updateCluster.Target, "target", "direct", "Target - direct, terraform")
cmd.Flags().StringVar(&updateCluster.Models, "model", "config,proto,cloudup", "Models to apply (separate multiple models with commas)") cmd.Flags().StringVar(&updateCluster.Models, "model", "config,proto,cloudup", "Models to apply (separate multiple models with commas)")