forked from LaconicNetwork/kompose
fix issue #1: output in a single file
This commit is contained in:
1 parent
fd82f2cba4
commit
bea0e4b7c3
3 files changed
+38
-16
No files matched your search
@@ -35,6 +35,11 @@ func ConvertCommand(factory app.ProjectFactory) cli.Command {
|
||||
Value: "docker-compose.yml",
|
||||
EnvVar: "COMPOSE_FILE",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "out,o",
|
||||
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.BoolFlag{
|
||||
Name: "deployment,d",
|
||||
@@ -57,7 +62,7 @@ func ConvertCommand(factory app.ProjectFactory) cli.Command {
|
||||
Usage: "Generate resource file in yaml format",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "stdout,out",
|
||||
Name: "stdout",
|
||||
Usage: "Print Kubernetes objects to stdout",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user