Refactor openshift buildconfig CLI options.

- Remove --buildconfig, -bc option. Create buildconfig if service has build info
- Rename --branch to --build-branch
- Rename --repo to --build-repo
This commit is contained in:
Ratnadeep Debnath
2016-12-28 17:00:33 +05:30
parent fa724fe12d
commit 6f3e670af1
5 changed files with 29 additions and 34 deletions
+2 -3
View File
@@ -33,9 +33,8 @@ type ConvertOptions struct {
CreateRC bool
CreateDS bool
CreateDeploymentConfig bool
CreateBuildConfig bool
Repo string
Branch string
BuildRepo string
BuildBranch string
CreateChart bool
GenerateYaml bool
EmptyVols bool