console
console copied to clipboard
Fix: fixed support for AsCommand aliases
Fixed a bug where an exception was thrown when adding an alias using the AsCommand attribute.
Can you show me that exception? Can you also add test case for that? Thank you.
Sure, the exception occurs if I use the aliases parameter within the AsCommand attribute and try to list all commands using php ./bin/console.php. Exception does not appear if I call specific commands. Unfortunately, I don't know how to write a test case for this case. (This exception was simullated on clear Nette Web Project with only library - Contributte/Console)