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

bash/zsh/fish shell auto-completions #135

Open
Kevin-Mok opened this issue Jun 21, 2021 · 3 comments
Open

bash/zsh/fish shell auto-completions #135

Kevin-Mok opened this issue Jun 21, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Kevin-Mok
Copy link

Kevin-Mok commented Jun 21, 2021

Desired Behavior

timetrace completion [bash|zsh|fish] should be able to generate a completion file for me in that respective shell.

Current Behavior

This is not an existing feature that I am aware of.

Implementation

Cobra can generate shell completions.

Personal Notes

I use the fish shell and would like timetrace completion fish to generate a timetrace.fish file that I can put in my ~/config/fish/completions/ dir to get fish completions. I've implemented this feature for the Kogito CLI before, but the kogito completion command was already there, and I just added the fish value on top of the existing bash/zsh ones.

@Kevin-Mok
Copy link
Author

@dominikbraun This can be assigned to me, but I'm not sure when I'll get around to it. If anyone else wants to take it on, that'd be cool too.

@Kevin-Mok
Copy link
Author

Also I guess enhancement label can be applied?

@dominikbraun dominikbraun added enhancement New feature or request help wanted Extra attention is needed labels Jun 21, 2021
@dominikbraun
Copy link
Owner

@Kevin-Mok Feel free to work on it when it suits you 😄

@Kevin-Mok Kevin-Mok changed the title Shell completions (fish) shell completions Jun 21, 2021
@Kevin-Mok Kevin-Mok changed the title (fish) shell completions bash/zsh/fish completions Jun 21, 2021
@Kevin-Mok Kevin-Mok changed the title bash/zsh/fish completions bash/zsh/fish shell auto-completions Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants