doctl icon indicating copy to clipboard operation
doctl copied to clipboard

Add shell completion to doctl running in docker

Open Piotr1215 opened this issue 3 years ago • 2 comments

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.

Piotr1215 avatar Sep 21 '22 20:09 Piotr1215

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?

danaelhe avatar Sep 23 '22 13:09 danaelhe

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

Piotr1215 avatar Sep 26 '22 08:09 Piotr1215