code: protected void list(String[] args) throws Exception {
  		LOG.info("Running 'list' command.");
  
  		final Options commandOptions = CliFrontendParser.getListCommandOptions();
  
  		final Options commandLineOptions = CliFrontendParser.mergeOptions(commandOptions, customCommandLineOptions);
  
  		final CommandLine commandLine = CliFrontendParser.parse(commandLineOptions, args, false);
  
  		ListOptions listOptions = new ListOptions(commandLine);
  
  		// evaluate help flag
  		if (listOptions.isPrintHelp()) {
  			CliFrontendParser.printHelpForList(customCommandLines);
  			return;
  		}
  
  		final boolean showRunning;
  		final boolean showScheduled;
  		final boolean showAll;
  
  		// print running and scheduled jobs if not option supplied
  		if (!listOptions.showRunning() && !listOptions.showScheduled() && !listOptions.showAll()) {
  			showRunning = true;
  			showScheduled = true;
  			showAll = false;
  		} else {
  			showRunning = listOptions.showRunning();
  			showScheduled = listOptions.showScheduled();
  			showAll = listOptions.showAll();
  		}
  
  		final CustomCommandLine<?> activeCommandLine = getActiveCustomCommandLine(commandLine);
  
  		runClusterAction(
  			activeCommandLine,
  			commandLine,
  			clusterClient -> listJobs(clusterClient, showRunning, showScheduled, showAll));
  
  	}
docs: Executes the list action.
  
  @param args Command line arguments for the list action.