Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Provide shell completions #17

Open
matthias-t opened this issue Jun 27, 2018 · 2 comments
Open

Provide shell completions #17

matthias-t opened this issue Jun 27, 2018 · 2 comments
Labels

Comments

@matthias-t
Copy link
Owner

Should be pretty easy with clap::App::gen_completions.

@matthias-t
Copy link
Owner Author

Actually, it's a bit more complicated than that if we also want to autocomplete workspace names

> ws list
workspace  /path/to/workspace
> ws open w<TAB>
> ws open workspace

@roma0615
Copy link
Collaborator

I found some clap issues regarding this problem: clap-rs/clap#568 and clap-rs/clap#1232. Looks like they are planning to include this feature in v3.

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

No branches or pull requests

2 participants