todo - move CLI invocation into javatools.cli.*