fix: enable default completion logic on top-level app (#221)
This commit is contained in:
@ -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]
|
## v2.1.0 [2021-07-29]
|
||||||
|
|
||||||
### New Repository
|
### New Repository
|
||||||
|
|||||||
@ -28,6 +28,7 @@ var app = cli.App{
|
|||||||
Usage: "Influx Client",
|
Usage: "Influx Client",
|
||||||
UsageText: "influx [command]",
|
UsageText: "influx [command]",
|
||||||
EnableBashCompletion: true,
|
EnableBashCompletion: true,
|
||||||
|
BashComplete: cli.DefaultAppComplete,
|
||||||
Commands: []cli.Command{
|
Commands: []cli.Command{
|
||||||
newVersionCmd(),
|
newVersionCmd(),
|
||||||
newPingCmd(),
|
newPingCmd(),
|
||||||
|
|||||||
Reference in New Issue
Block a user