forked from jontejj/jargo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added ArgumentBuilder#transform #38
Open
jontejj
wants to merge
47
commits into
Softhouse:master
Choose a base branch
from
jontejj:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Will be available in maven central in a couple of hours.
This is a non backwards-compatible change. But given that it's more comforting to have all commands run successfully than only half, I think this is the better choice after all. Fixes #39
Fixes #40 and Fixes #11 (in jontejj).
Fixed meta description in usage for transform'ed arguments.
If they are of the type ArgumentException that is.
Now tab-completions can be used for jargo programs by simply using: mvn package (in your project, to produce a runnable jar file) And then the user needs to put this in their ~/.bash_profile file: alias my-app="java -jar /my-app/target/app.jar" complete -o default -o bashdefault -o nospace -C my-app "my-app" Where my-app is the name of your program. Notes: * CommandLineParser#noCompleter turns this function off, it's enabled by default. * VariableArity/Arity/etc arguments gets completions * help arguments gets completions for what arguments you can get help for * Lowercase support for enum arguments * Not limiting suggestions Other fixes: * Removed Lines.NEWLINE and StringUtils.UTF8 as replacements exists in jdk 7 * Improved the security test
Also bumped version in readme.
@petternordholm du får gärna trycka in denna :) Prova gärna lite tab-completions också :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.