digitalocean / doctl

The official command line interface for the DigitalOcean API.
https://docs.digitalocean.com/reference/doctl/
Apache License 2.0
3.26k stars 398 forks source link

Add shell completion to doctl running in docker #1243

Open Piotr1215 opened 2 years ago

Piotr1215 commented 2 years ago

What is the problem this feature would solve? Please describe. Shell completion is a great feature and works with all major shells, but not when the CLI runs in docker.

Describe the solution you'd like If possible provide shell completion for the docker installation

Additional context This would help the CLI usability when running it a docker container.

danaelhe commented 2 years ago

Hi there,

Thanks for the write up and suggestion! Could you go into more detail on how you currently use the container? Are you shell exec-ing into it or something else?

Piotr1215 commented 2 years ago

Hi @danaelhe Aliasing the doctl to docker run... without shell exec into the ruining container. The expectation is that after hitting the completion would be available like in any other methods.