nategood / commando

An Elegant CLI Library for PHP
MIT License
798 stars 80 forks source link

Commando::define() return instance of the callee class #72

Closed basuke closed 5 years ago

basuke commented 7 years ago

if Command::define() is called from subclass of Command class, it returns the instance of that subclass instead of Commando\Command.