Sample Java command-line interface (CLI)