Finish the processor system

This commit is contained in:
Stéphane Goetz 2015-07-15 14:09:54 +02:00 committed by Stéphane Goetz
parent 7623e7579f
commit 290f52d181
2 changed files with 6 additions and 5 deletions

BIN
daux.phar Executable file → Normal file

Binary file not shown.

View File

@ -31,10 +31,11 @@ class Command extends SymfonyCommand
$width = $this->getApplication()->getTerminalDimensions()[0]; $width = $this->getApplication()->getTerminalDimensions()[0];
switch(strtolower($input->getOption('processor'))) { $processor = $input->getOption('processor');
case 'none': if (!empty($processor) && $processor != 'none') {
default: if (file_exists($processor)) {
//nothing include $processor;
}
} }
switch(strtolower($input->getOption('format'))) { switch(strtolower($input->getOption('format'))) {