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

[feat] Dynamic Bash/Fish tab completion for CLI #1455

Open
GarthDB opened this issue May 1, 2024 · 1 comment
Open

[feat] Dynamic Bash/Fish tab completion for CLI #1455

GarthDB opened this issue May 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@GarthDB
Copy link

GarthDB commented May 1, 2024

Is your feature request related to a problem? Please describe.

It can be tricky to remember all package names and tasks when using the CLI. This results in me digging through files or trying to guess.

Describe the solution you'd like

A tab completion function, similar to this git-completion.bash script that would dynamically use the data in moon.yml files.

Describe alternatives you've considered

I'm not sure there is an alternative.

Additional context

If this already exists I was having a hard time finding it, so maybe I'm using the wrong keywords.

@GarthDB GarthDB added the enhancement New feature or request label May 1, 2024
@milesj
Copy link
Collaborator

milesj commented May 1, 2024

@GarthDB We have moon completions but that's just for the built-in commands. I'm assuming you want it to also auto-complete all the available tasks/projects/etc? If so, it's blocked on this currently (unless we build our own engine): clap-rs/clap#3166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants