/** * initialise * * @return void */ protected function initialise() { Windwalker::prepareSystemPath($this->config); parent::initialise(); $this->setHelp(<<<HELP Welcome to Vaseman Console. HELP ); $this->setDescription('Vaseman console system.'); $this->container->set('system.router', new RestfulRouter()); }
/** * registerCommands * * @return void */ public function registerCommands() { parent::registerCommands(); /* * Register Commands * -------------------------------------------- * Register your own commands here, make sure you have call the parent, some important * system command has registered at parent::registerCommands(). */ // Your commands here. }