cli: add --emptyvols to Up/Down

This commit is contained in:
Dusty Mabe
2016-10-28 16:05:59 -04:00
parent f67fca8be1
commit 7349dc9c9f
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -160,6 +160,12 @@ func UpCommand() cli.Command {
Action: func(c *cli.Context) {
app.Up(c)
},
Flags: []cli.Flag{
cli.BoolFlag{
Name: "emptyvols",
Usage: "Use Empty Volumes. Don't generate PVCs",
},
},
}
}
@@ -171,6 +177,12 @@ func DownCommand() cli.Command {
Action: func(c *cli.Context) {
app.Down(c)
},
Flags: []cli.Flag{
cli.BoolFlag{
Name: "emptyvols",
Usage: "Use Empty Volumes. Don't generate PVCs",
},
},
}
}