protected function runCommand(array $args)
{
$argv = $this->parseSugaredArgv($args);
$config = $this->getConfig($argv['namespace']);
$ruleSetFactory = new RuleSetFactory();
$options = new CommandLineOptions($argv['args'], $ruleSetFactory->listAvailableRuleSets(), $config);
$command = new Command();
return $command->run($options, $ruleSetFactory);
}