Used hidden flag instead of removing command completely (#886)

The `fission spec helm` is now a hidden command since it is not implemented yet.
This commit is contained in:
Vishal
2018-09-13 15:27:22 +05:30
committed by GitHub
parent 82d23b9bf8
commit d18777bed4
+1 -1
View File
@@ -300,7 +300,7 @@ func main() {
{Name: "validate", Usage: "Validate Fission app specification", Flags: []cli.Flag{specDirFlag}, Action: specValidate},
{Name: "apply", Usage: "Create, update, or delete Fission resources from app specification", Flags: []cli.Flag{specDirFlag, specDeleteFlag, specWaitFlag, specWatchFlag}, Action: specApply},
{Name: "destroy", Usage: "Delete all Fission resources in the app specification", Flags: []cli.Flag{specDirFlag}, Action: specDestroy},
{Name: "helm", Usage: "Create a helm chart from the app specification", Flags: []cli.Flag{specDirFlag}, Action: specHelm},
{Name: "helm", Usage: "Create a helm chart from the app specification", Flags: []cli.Flag{specDirFlag}, Action: specHelm, Hidden: true},
}
app.Commands = []cli.Command{