5

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.

Romil Patel
  • 12,879
  • 7
  • 47
  • 76
Azhar
  • 51
  • 2