return 0
}
-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"
-
"github.com/joho/godotenv"
"github.com/urfave/cli"
)
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:"