-
-
Notifications
You must be signed in to change notification settings - Fork 8
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
make completions and manpage as subcommands? #27
Comments
Hello! 馃憢馃徏 Can you share your use-case ? Why using separate binaries isn't exactly convenient for you? I'm happy to change this if there is a good reason for it 馃惢 |
it is technically the same, but I just feel like the binaries are not very user friendly (i see you have the similar setup in daktilo as well). as I come from homebrew, the subcommands would ease the installation process as we do with other rust formulae. I think it would help with other package managers as well. Let me know if that makes sense. |
Yeah, definitely makes sense.
Can you share an example of how you generate completions for Rust packages in Homebrew? I'm curious about how subcommand vs binary approach looks like 馃憖 |
we have some syntax sugar like and basically it would just have command running completion subcmd and consume them into pre-defined completion dir respectively. I can see argc and ast-grep are doing completions command thing |
Can you send some links or share snippets from both approaches? |
馃憢 right now, the cargo build generates flawz-completions and flawz-mapage, I wonder if it would be better to create subcommands as
flawz completions
andflawz manpage
. Let me know if that makes sense.The text was updated successfully, but these errors were encountered: