Skip to content

[Question] Completion Support? #145

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

Closed
Simonl9l opened this issue Sep 4, 2024 · 2 comments
Closed

[Question] Completion Support? #145

Simonl9l opened this issue Sep 4, 2024 · 2 comments

Comments

@Simonl9l
Copy link

Simonl9l commented Sep 4, 2024

Some CLI frameworks also offer completion support, where they will generate a completion file that can be used by the requisite shell to support command completions.

https://en.wikipedia.org/wiki/Command-line_completion

Are there an future plans to support this ?

@neuecc
Copy link
Member

neuecc commented Sep 9, 2024

We have no intention of supporting that.
In that case, it would be better to use a different framework.

@neuecc neuecc closed this as completed Sep 9, 2024
@Simonl9l
Copy link
Author

Curious as to you reasoning, as its common in Linux (based) environments specifically bash, zsh & fish. Here's a guide -https://www.dolthub.com/blog/2021-11-15-zsh-completions-with-subcommands/

As one packages one Cli's into various package managers (like homebrew for MacOs) for distribution, where the package install extracts the completion and places it in a place the shell knows where to get it.

So the value prop is for the end user of our CLI's we develop with the framework, and our overall offered User Experience.

One could hand craft the completions file, given the cod generation nature of the CLI, this would seem like a logic step.

Whist I'm up to my eyeballs in delivering my stuff, and your framework is very valuable, it may be a consideration for a future pull request - if that is of interested, on basis it would be accepted (given you review process) if presented - to make any such effort worth it.

Also if this get some thumbs up...

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