clap_complete: add Xonsh shell support #4693
Labels
A-completion
Area: completion generator
C-enhancement
Category: Raise on the bar on expectations
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
Please complete the following tasks
Clap Version
4.1.1
Describe your use case
Auto-generate completions for a python shell Xonsh in a Runtime Executor rtx (asdf rust clone) just like for other shells
Describe the solution you'd like
Xonsh is added to the list of shells that allow completion generations
This is how it's currently done in rtx
https://github.com/jdxcode/rtx/blob/067ba808a14e061e6fb53d7ec144ae88d79eff6d/src/cli/complete.rs#L9-L28
(not sure why this is showing as a link instead of a preview)
Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: