influxdata / influxdata/influx-cli
influx CLI remote completions
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
__Proposal:__
Like to add the ability to use an existing profile to pull remote data for autocompletion in the shell.
Example:
```sh
influx bucket ls --id=
foo_bucket FOO_BUCKET_ID Description of foo bucket
bar_bucket BAR_BUCKET_ID Description of bar bucket
```
and user can tab complete to select the bucket they are interested in and the id/name/field is filled in by the autocompletions
__Current behavior:__
manually have to copy pasta data into the shell
__Desired behavior:__
I want choices provided for me
__Alternatives considered:__
leave it be
__Use case:__
Dramatically improves the usability of the `influx` cli tool
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the influx CLI command path for `influx bucket ls --id=` and identify how shell completions and existing profiles are handled. Define the remote choices and completion behavior for bucket names, IDs, and fields, then verify that tab completion fills the requested value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100