Build interactive and non-interactive CLI mode
Interactive mode
New CLI flag -i
allows to enter interactive mode and get into a JavaScript (Nashorn) powered shell. The shell has access to the optimization parameters and the command line statistics.
Non-interactive mode
The non-interactive mode is the default and just prints the optimization results and stats as YAML to the console. A new --script
flag will allow the user to alter the output (replace) and generate their own output. This makes wrapper scripts unneccessary.