src/Core/Migration/Command/MigrationCommand.php
public function init()
    {
        $this->addCommand(Migration\CreateCommand::class);
        $this->addCommand(Migration\StatusCommand::class);
        $this->addCommand(Migration\MigrateCommand::class);
        $this->addCommand(Migration\ResetCommand::class);
        $this->addCommand(Migration\DropAllCommand::class);

        $this->addGlobalOption('d')
            ->alias('dir')
            ->description('Set migration file directory.');

        $this->addGlobalOption('p')
            ->alias('package')
            ->description('Package to run migration.');
    }
public function init()
    {
        $this->addCommand(Migration\CreateCommand::class);
        $this->addCommand(Migration\StatusCommand::class);
        $this->addCommand(Migration\MigrateCommand::class);
        $this->addCommand(Migration\ResetCommand::class);
        $this->addCommand(Migration\DropAllCommand::class);

        $this->addGlobalOption('d')
            ->alias('dir')
            ->description('Set migration file directory.');

        $this->addGlobalOption('p')
            ->alias('package')
            ->description('Package to run migration.');
    }
public function init ( ) { $ this -> addCommand ( Migration \ CreateCommand :: class ) ; $ this -> addCommand ( Migration \ StatusCommand :: class ) ; $ this -> addCommand ( Migration \ MigrateCommand :: class ) ; $ this -> addCommand ( Migration \ ResetCommand :: class ) ; $ this -> addCommand ( Migration \ DropAllCommand :: class ) ; $ this -> addGlobalOption ( 'd' ) -> alias ( 'dir' ) -> description ( 'Set migration file directory.' ) ; $ this -> addGlobalOption ( 'p' ) -> alias ( 'package' ) -> description ( 'Package to run migration.' ) ; }
Configure command information.

@return void
Configure command information .