added new CLIUtil#cli utility method