Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants