Disable completion for now, because it's not working with options
(eg. --label) and prevents to complete local path
IOW current function only completes command and sub-commands that may
be usefull but less important than completing a path.
Change-Id: Ib5fe4f8492367d383bbe92351ec8c69a65b4ea4c
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-complete -F _cli_bash_autocomplete xds-cli
+# FIXME: Disable completion for now, because it's not working with options
+# (eg. --label) and prevents to complete local path
+# (IOW current function only completes command and sub-commands)
+# complete -F _cli_bash_autocomplete xds-cli
"gerrit.automotivelinux.org/gerrit/src/xds/xds-agent.git/lib/xaapiv1"
common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib"
"github.com/Sirupsen/logrus"
"gerrit.automotivelinux.org/gerrit/src/xds/xds-agent.git/lib/xaapiv1"
common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib"
"github.com/Sirupsen/logrus"
"github.com/joho/godotenv"
"github.com/urfave/cli"
)
"github.com/joho/godotenv"
"github.com/urfave/cli"
)
app.Metadata["version"] = AppVersion
app.Metadata["git-tag"] = AppSubVersion
app.Metadata["logger"] = Log
app.Metadata["version"] = AppVersion
app.Metadata["git-tag"] = AppSubVersion
app.Metadata["logger"] = Log
- app.EnableBashCompletion = true
+ // FIXME: Disable completion for now, because it's not working with options
+ // (eg. --label) and prevents to complete local path
+ // (IOW current function only completes command and sub-commands)
+ app.EnableBashCompletion = false
// Create env vars help
dynDesc := "\nENVIRONMENT VARIABLES:"
// Create env vars help
dynDesc := "\nENVIRONMENT VARIABLES:"