From 60a328d69f3ba55ec54d177e0679c50e33d24411 Mon Sep 17 00:00:00 2001 From: Ashwathi Shiva <56001041+ashwathishiva@users.noreply.github.com> Date: Fri, 20 Dec 2019 14:17:46 -0500 Subject: [PATCH] Added version and tag (#6) * Added tag and version --- cmd/qliksense/aliases.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/qliksense/aliases.go b/cmd/qliksense/aliases.go index f17b2797..1d1fb4de 100644 --- a/cmd/qliksense/aliases.go +++ b/cmd/qliksense/aliases.go @@ -198,6 +198,10 @@ func buildPreflightAlias(porterCmd *cobra.Command, q *qliksense.Qliksense) *cobr "Define an individual parameter in the form NAME=VALUE. Overrides parameters set with the same name using --param-file. May be specified multiple times.") f.StringSliceVar(&opts.ParamFiles, "param-file", nil, "Path to a parameters definition file for the bundle, each line in the form of NAME=VALUE. May be specified multiple times.") + f.StringVarP(&opts.Tag, "tag", "t", "", + "Use a bundle in an OCI registry specified by the given tag") + f.StringVarP(&opts.Version, "version", "v", "latest", + "Version of Qlik Sense to install") f.StringSliceVarP(&opts.CredentialIdentifiers, "cred", "c", nil, "Credential to use when installing the bundle. May be either a named set of credentials or a filepath, and specified multiple times.") return c