openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Add shell auto completion for different shell, like bash, zsh, fish, powershell

Open chunlea opened this issue 2 years ago • 5 comments

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • [X] This is a feature request for the Python library

Describe the feature or improvement you're requesting

I would like to have shell auto completion support to cli in this python library, which will make cli a more useful tool to play around with openai.

Other examples:

  • GitHub CLI: https://cli.github.com/manual/gh_completion
  • Stripe CLI: https://stripe.com/docs/stripe-cli/autocomplete

Additional context

No response

chunlea avatar Nov 17 '23 05:11 chunlea

Thanks for the suggestion.

We'd welcome PR's from the community adding this.

rattrayalex avatar Nov 18 '23 23:11 rattrayalex

Hi @rattrayalex I would like to work on this feature. I would like some background to investigate and start with. Can I get this assigned, thanks!

rohitkrsoni avatar May 10 '24 03:05 rohitkrsoni

We don't assign issues, but you're welcome to take a crack at it!

rattrayalex avatar May 12 '24 23:05 rattrayalex

I am working on this issue

Tienbruh avatar Jun 21 '24 23:06 Tienbruh

My team just opened a pull request for this issue here: PR #1603

Tienbruh avatar Aug 06 '24 20:08 Tienbruh