ultraq / redhorizon

Recreating the original 2D Command & Conquer games
Apache License 2.0
6 stars 4 forks source link

Use Picocli in conjunction with scripts #12

Closed ultraq closed 4 years ago

ultraq commented 4 years ago

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