Glue code for creating multi-command CLIs in Java