Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clap_complete: add Xonsh shell support #4693

Open
2 tasks done
eugenesvk opened this issue Feb 4, 2023 · 0 comments
Open
2 tasks done

clap_complete: add Xonsh shell support #4693

eugenesvk opened this issue Feb 4, 2023 · 0 comments
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

Comments

@eugenesvk
Copy link

eugenesvk commented Feb 4, 2023

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

@eugenesvk eugenesvk added the C-enhancement Category: Raise on the bar on expectations label Feb 4, 2023
@epage epage added E-medium Call for participation: Experience needed to fix: Medium / intermediate A-completion Area: completion generator E-help-wanted Call for participation: Help is requested to fix this issue. labels Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants