The older Windows batch commands tried to do all the CLI handling in batch/cmd before passing arguments off to the converter. With tools like Picocli, it makes for some pretty powerful CLI tools around a classic Java main class, so I think it'd be better to use that, with batch/command scripts only for keeping the commands shorter rather than java -cp ....
The older Windows batch commands tried to do all the CLI handling in batch/cmd before passing arguments off to the converter. With tools like Picocli, it makes for some pretty powerful CLI tools around a classic Java main class, so I think it'd be better to use that, with batch/command scripts only for keeping the commands shorter rather than
java -cp ...
.Picocli: https://github.com/remkop/picocli