I want to pass in custom options to run compiled java code from command-line. For example:
java --output-dir "output_dir" --action Main
where --output-dir supplies an output directory and --action serves as a boolean to either execute a function or not.
How should I go about this?
Thanks.