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

Tab completing for the cd command #8

Open
pmikolajczyk41 opened this issue Jun 23, 2023 · 2 comments
Open

Tab completing for the cd command #8

pmikolajczyk41 opened this issue Jun 23, 2023 · 2 comments

Comments

@pmikolajczyk41
Copy link
Member

pmikolajczyk41 commented Jun 23, 2023

or if this is too hard, as a workaround, allow passing a starting directory like ./target/release/drink-cli exmaples/flipper

cc: @JoshOrndorff

@pmikolajczyk41
Copy link
Member Author

I've spent some time trying to get this working, but actually, I don't see any easy, good working solution. clap_complete is able to generate a short shell script, but it's still pretty troublesome to run it (it's not a single command). Also, displaying available completions is a question mark :|

While I agree that it would be a nice feature, for now we will have to park it.

@piotrMocz
Copy link
Collaborator

@JoshOrndorff we merged the change allowing to pass a starting directory, you can give that a spin! ;)

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

No branches or pull requests

2 participants