[FEATURE] Add completions for the xonsh shell #875
Unanswered
sbordeynemics
asked this question in
Questions
Replies: 2 comments
-
This would be awesome to have. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! Thanks for the feature request. We're currently keeping track of these on the discussions forum, focusing the issue tracker mostly on bugs. I'll go ahead and move this thread but keep it open on the discussion forum so we can continue to follow up there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem
Is your feature request related to a problem? Yes
I've moved from ZSH to XONSH as my default shell, and I have multiple CLIs that rely on typer to work. Writing the completions by hand is doable, but it is time-consuming. Xonsh is a shell that mixes bash and python together, therefore completions are basically python functions.
The solution you would like
cli --install-completions and cli --show-completions support for xonsh shells.
Describe alternatives you've considered
I've considered hooking into my typer app to discover commands, arguments, options and so on to generate my completion automatically. It's doable, but at this point it should be a feature of the library, and not a hack.
Beta Was this translation helpful? Give feedback.
All reactions