Generate only controllers set by flag

This commit is contained in:
Tomas Kral
2016-07-13 19:05:08 +02:00
parent e74f9f51e3
commit b346667912
2 changed files with 6 additions and 2 deletions
+1 -2
View File
@@ -40,8 +40,7 @@ func ConvertCommand(factory app.ProjectFactory) cli.Command {
Usage: "Specify file name in order to save objects into",
EnvVar: "OUTPUT_FILE",
},
// TODO: validate the flags and make sure only one type is specified
cli.BoolTFlag{
cli.BoolFlag{
Name: "deployment,d",
Usage: "Generate a deployment resource file (default on)",
},