-
Notifications
You must be signed in to change notification settings - Fork 424
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
Feature Suggestion: Homebrew support #727
Comments
Feel free to close, this is a suggestion, I don't have plans to actively work on this. |
Another cool idea, thank you! Looking at the linked
Anything else? |
That seems about right. BTW I converted a project from airline to picocli and the experience was great. Particularly because I want it to work well with graal etc and it seems to rely a lot less on reflection. I've implemented a few CLIs now, so really appreciate the functionality this library provides. Some of these suggestions are towards allowing a developer to just write the Main class, and have shell integration, installation, user help for free. I guess I'm wondering how you could tie the experience together, or whether that is something a framework like micronauts would provide? |
I've been working on a tool to make this possible: https://jreleaser.org Bonus: it's CLI option uses picocli (thanks @remkop!) |
Love to! Where can I find the doc sources? i cloned this repo and found HTML files under modified: docs/A-Whirlwind-Tour-of-Picocli.html
modified: docs/announcing-picocli-1.0.html
modified: docs/autocomplete.html
modified: docs/build-great-native-cli-apps-in-java-with-graalvm-and-picocli.html
modified: docs/feedback.html
modified: docs/groovy-2.5-clibuilder-renewal-part1.html
modified: docs/groovy-2.5-clibuilder-renewal-part2.html
modified: docs/groovy-2.5-clibuilder-renewal.html
modified: docs/man/index.html
modified: docs/migrating-from-commons-cli.html
modified: docs/picocli-2.0-do-more-with-less.html
modified: docs/picocli-2.0-groovy-scripts-on-steroids.html
modified: docs/picocli-on-graalvm.html
modified: docs/picocli-programmatic-api.html
modified: docs/quick-guide.html
modified: docs/zh/picocli-2.0-do-more-with-less.html
modified: docs/zh/picocli-2.0-groovy-scripts-on-steroids.html Is there some sort of trigger that modifies these files? |
Hi @aalmiray! The modified files are generated HTML files, you can ignore them. I thought I had fixed things so that when I commit files, line endings are converted from CRLF to LF, but perhaps something went wrong there... I hope it is not too inconvenient. The source for the manual is here: When you run |
I'd also like a brew package ideally. It's a very popular package management framework! |
@mayurankv This is supported via JReleaser: https://picocli.info/#_jreleaser |
It's fairly trivial to expose and bundled java app with launcher scripts via homebrew without any permission from upstream brew maintainers
e.g. https://github.com/yschimke/homebrew-tap/blob/master/rsocket-cli.rb#L18
This script makes the following brew command possible
Since you are generating bash completion scripts, it seems like a logical step to generate a homebrew file.
The text was updated successfully, but these errors were encountered: