Пример #1
0
 /**
  * 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.');
 }
Пример #3
0
    /**
     * 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();
 }
Пример #5
0
 protected function initialise()
 {
     $this->addCommand(new MakesumCommand());
     parent::initialise();
 }
Пример #6
0
 /**
  * Initialise command information.
  *
  * @return void
  */
 public function initialise()
 {
     parent::initialise();
     $this->addOption('no-backup')->description('Do not backup database.');
 }
Пример #7
0
 /**
  * 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();
 }
Пример #10
0
 /**
  * Initialise command information.
  *
  * @return void
  */
 public function initialise()
 {
     parent::initialise();
 }
Пример #11
0
 /**
  * initialise
  *
  * @return  void
  */
 public function initialise()
 {
     parent::initialise();
     $this->addCommand(new GenerateCommand());
 }