I am developing an app that takes arguments like usual command. For example -h option prints help like this:
pi@raspberrypi:~ $ java -jar my.jar -h usage: My App -d,--download-to <arg> Download path -h,--help Shows this help I am wondering if it is possible to run jar file from command line without using java -jar prefix?
Like this:
pi@raspberrypi:~ $ my.jar -h usage: My App -d,--download-to <arg> Download path -h,--help Shows this help