eksctl anywhere completion bash does not work
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
I am trying to set up bash completion for eksctl anywhere using `source <(eksctl anywhere completion bash)`, but it doesn't seem to work. Bash doesn't actually complete anything.
I can see that `eksctl anywhere completion bash` returns the relevant output, but it seems to be unused when sourced...
To reproduce it, just run `source <(eksctl anywhere completion bash)`, then start typing `eksctl anywhere `.
EKS Anywhere Release: `0.7.2`
eksctl version: `0.86.0`
OS: Using `Linux Ubuntu 20.04.4 LTS (Focal Fossa)` and `macOS Monterey 12.2.1`, but this issue occurs on any bash.
Contributor guide
Research direction
Reproduce the issue with `source <(eksctl anywhere completion bash)` and the `eksctl anywhere ` sequence. Start from the CLI completion command and follow how its generated Bash output is consumed; done means the expected subcommands appear during Bash completion on the reported environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100