* @license licenses/mind3rd.license */ use Symfony\Component\Console\Input\InputArgument, Symfony\Component\Console\Input\InputOption, Symfony\Component\Console; /** * @author felipe */ class Info extends MindCommand implements program { public function __construct() { $this ->setCommandName('info') ->setDescription('Shows some information about this instalation') ->setRestrict(true) ->setAction('action') ->setHelp(<<init(); } public function action() { GLOBAL $_MIND; print_r($_MIND->about); return $this; } }