Finish the processor system
This commit is contained in:
parent
7623e7579f
commit
290f52d181
@ -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'))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user