Reputation: 81
We are building a spring-shell application. currently, in interactive mode, I have to go like
java -jar sample.jar
shell:> mycommand arg1 agr2
is there a way to run this nun interactively, Something like this
java -jar sample.jar mycommand arg1 agr2
and then exit.
Upvotes: 8
Views: 2363
Reputation: 758
You can add this custom runner to your application and it will work.
Upvotes: 1