You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
Repository navigation
Commit 1e33a3c
Browse filesBrowse the repository at this point in the historyBrowse files
rootCmd.PersistentFlags().StringVarP(&explicitConfigFile, "config", "c", "", "path/to/config.yml where parameters can be set instead of on the command line")
82
-
// Set annotation to run bash completion function for the config flag and only show .yaml or .yml files
// Don't bind these to viper since paths are treated separately to support relative paths!
147
138
command.PersistentFlags().String("script", "", "path/to/reload-script.qvs that contains a qlik reload script. If omitted the last specified reload script for the current app is reloaded")
148
-
// Set annotation to run bash completion function for the script flag and only show .qvs files
command.PersistentFlags().Bool("suppress", false, "Suppress all confirmation dialogues")
158
147
}
159
-
160
148
catwalkCmd.PersistentFlags().String("catwalk-url", "https://catwalk.core.qlik.com", "Url to an instance of catwalk, if not provided the qlik one will be used.")
149
+
150
+
ifruntime.GOOS!="windows" {
151
+
// Do not add bash completion annotations for paths and files as they are not compatible with windows. On windows
152
+
// we instead rely on the default bash behavior
153
+
addFileRelatedBashAnnotations()
154
+
}
161
155
}
162
156
163
157
// GetRelativeParameter returns a parameter from the config file.
0 commit comments