application/src/main/java/com/buschmais/jqassistant/commandline/Main.java
private void executeTask(Task task, Options option, CommandLine commandLine, PluginRepository pluginRepository,
            Map<String, Object> properties) throws CliExecutionException {
        try {
            task.withStandardOptions(commandLine);
            task.withOptions(commandLine);
        } catch (CliConfigurationException e) {
            printUsage(option, e.getMessage());
            System.exit(1);
        }
        task.initialize(pluginRepository, properties);
        task.run();
    }
private void executeTask(Task task, Options option, CommandLine commandLine, PluginRepository pluginRepository,
            Map<String, Object> properties) throws CliExecutionException {
        try {
            task.withStandardOptions(commandLine);
            task.withOptions(commandLine);
        } catch (CliConfigurationException e) {
            printUsage(option, e.getMessage());
            System.exit(1);
        }
        task.initialize(pluginRepository, properties);
        task.run();
    }
private void executeTask ( Task task , Options option , CommandLine commandLine , PluginRepository pluginRepository , Map < String , Object > properties ) throws CliExecutionException { try { task . withStandardOptions ( commandLine ) ; task . withOptions ( commandLine ) ; } catch ( CliConfigurationException e ) { printUsage ( option , e . getMessage ( ) ) ; System . exit ( 1 ) ; } task . initialize ( pluginRepository , properties ) ; task . run ( ) ; }
Executes a task.

@param task
The task.
@param option
The option.
@param commandLine
The command line.
@param properties
The plugin properties
@throws IOException
Executes a task .