fix: enable default completion logic on top-level app (#221)

This commit is contained in:
Daniel Moran 2021-07-30 16:04:41 -04:00 committed by GitHub
parent 1855113d7c
commit 4ae87ced37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
## v2.2.0 [unreleased]
### Bug Fixes
1. [221](https://github.com/influxdata/influx-cli/pull/221): Fix shell completion for top-level `influx` commands.
## v2.1.0 [2021-07-29]
### New Repository

View File

@ -28,6 +28,7 @@ var app = cli.App{
Usage: "Influx Client",
UsageText: "influx [command]",
EnableBashCompletion: true,
BashComplete: cli.DefaultAppComplete,
Commands: []cli.Command{
newVersionCmd(),
newPingCmd(),