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

Travis fix #2 #3

Merged
merged 1 commit into from
Feb 7, 2017
Merged

Travis fix #2 #3

merged 1 commit into from
Feb 7, 2017

Conversation

jontejj
Copy link
Owner

@jontejj jontejj commented Feb 7, 2017

No description provided.

@jontejj jontejj merged commit 91517a3 into master Feb 7, 2017
jontejj added a commit that referenced this pull request Feb 7, 2017
jontejj added a commit that referenced this pull request Feb 7, 2017
@jontejj jontejj deleted the travis2 branch February 12, 2017 16:38
jontejj added a commit that referenced this pull request May 7, 2018
mvn install
alias my-app="java -jar /Users/jonatanjonsson/code/jargo/jargo-example/target/app.jar"
alias my-app-completer="java -jar /Users/jonatanjonsson/code/jargo/jargo-example/target/app-completer.jar"
complete -C my-app-completer "my-app"

Now bash-completion works for my-app.
Will publish an archetype with a complete example too.
jontejj added a commit that referenced this pull request May 10, 2018
So far CommandLineParser#complete needs to be used, but maybe it
should be integrated as an optional argument instead?
jontejj added a commit that referenced this pull request May 28, 2018
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
jontejj added a commit that referenced this pull request May 28, 2018
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
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

Successfully merging this pull request may close these issues.

1 participant