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

pixi add autocompletion #778

Closed
pavelzw opened this issue Feb 5, 2024 · 3 comments
Closed

pixi add autocompletion #778

pavelzw opened this issue Feb 5, 2024 · 3 comments
Labels
✨ enhancement Feature request

Comments

@pavelzw
Copy link
Contributor

pavelzw commented Feb 5, 2024

Problem description

Basically the same as mamba-org/mamba#3173 but for pixi :)

@pavelzw pavelzw added the ✨ enhancement Feature request label Feb 5, 2024
@ruben-arts
Copy link
Contributor

I assume you mean pixi add or pixi global install but this is much harder in Rust as we can't generate functions automatically for the shell auto-completion.

@pavelzw
Copy link
Contributor Author

pavelzw commented Feb 7, 2024

oh yes i meant pixi add

@ruben-arts ruben-arts changed the title pixi install autocompletion pixi add autocompletion Feb 7, 2024
@ruben-arts
Copy link
Contributor

This is the biggest UX improvement we can do in my opinion but currently I see no way we could do this in a maintainable way without a library that can generate autocomplete scripts for multiple shells. And I don't think we should shift focus to build something like that ourselfs at this point in time.

There are a few conversations on clap and clap_complete, the combining issue: clap-rs/clap#1232

Closing this for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request
Projects
None yet
Development

No branches or pull requests

2 participants