/** * Configure command information. * * @return void */ public function initialise() { $this->addCommand(new AddItemCommand()); $this->addCommand(new AddListCommand()); $this->addCommand(new SubsystemCommand()); parent::initialise(); }
/** * Configure command information. * * @return void */ public function initialise() { parent::initialise(); $this->addCommand(new InitCommand()); $this->addCommand(new ConvertCommand()); $this->addCommand(new AddCommand()); $this->addCommand(new TestCommand()); $this->addGlobalOption('c')->alias('client')->description('Site or administrator (admin)'); $this->addGlobalOption('t')->alias('tmpl')->defaultValue('default')->description('Using template.'); }
/** * Configure command information. * * @return void */ public function initialise() { $this->help(<<<HELP Example: generator test Helper PathHelper Generate to: test/Helper/PathHelper.php generator test Helper PathHelper Foo/Bar/PathHelper Generate to: test/Foo/Bar/PathHelper.php HELP ); parent::initialise(); }
/** * Configure command information. * * @return void */ public function initialise() { // $this->addArgument(); parent::initialise(); }
protected function initialise() { $this->addCommand(new MakesumCommand()); parent::initialise(); }
/** * Initialise command information. * * @return void */ public function initialise() { parent::initialise(); $this->addOption('no-backup')->description('Do not backup database.'); }
/** * Configure command information. * * @return void */ public function initialise() { $this->addGlobalOption('g')->alias('group')->description('The group id, default will use SuperUser group.'); parent::initialise(); }
/** * Configure command information. * * @return void */ public function initialise() { $this->addOption('a')->alias('admin')->description('Use admin client.'); $this->addOption('w')->alias('windwalker')->description('Use Windwalker sum style.'); parent::initialise(); }
/** * Configure command information. * * @return void */ public function initialise() { $this->addOption(array('d', 'description'), null, 'Command description'); parent::initialise(); }
/** * Initialise command information. * * @return void */ public function initialise() { parent::initialise(); }
/** * initialise * * @return void */ public function initialise() { parent::initialise(); $this->addCommand(new GenerateCommand()); }