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];
switch(strtolower($input->getOption('processor'))) {
case 'none':
default:
//nothing
$processor = $input->getOption('processor');
if (!empty($processor) && $processor != 'none') {
if (file_exists($processor)) {
include $processor;
}
}
switch(strtolower($input->getOption('format'))) {