src/Core/Seeder/Command/SeedCommand.php
public function init()
    {
        $this->addCommand(ImportCommand::class);
        $this->addCommand(ClearCommand::class);

        $this->addGlobalOption('c')
            ->alias('class')
            ->defaultValue('MainSeeder')
            ->description('The class to import.');

        $this->addGlobalOption('d')
            ->alias('dir')
            ->description('The directory of this seeder.');

        $this->addGlobalOption('p')
            ->alias('package')
            ->description('Package name to import seeder.');

        parent::init();
    }
public function init()
    {
        $this->addCommand(ImportCommand::class);
        $this->addCommand(ClearCommand::class);

        $this->addGlobalOption('c')
            ->alias('class')
            ->defaultValue('MainSeeder')
            ->description('The class to import.');

        $this->addGlobalOption('d')
            ->alias('dir')
            ->description('The directory of this seeder.');

        $this->addGlobalOption('p')
            ->alias('package')
            ->description('Package name to import seeder.');

        parent::init();
    }
public function init ( ) { $ this -> addCommand ( ImportCommand :: class ) ; $ this -> addCommand ( ClearCommand :: class ) ; $ this -> addGlobalOption ( 'c' ) -> alias ( 'class' ) -> defaultValue ( 'MainSeeder' ) -> description ( 'The class to import.' ) ; $ this -> addGlobalOption ( 'd' ) -> alias ( 'dir' ) -> description ( 'The directory of this seeder.' ) ; $ this -> addGlobalOption ( 'p' ) -> alias ( 'package' ) -> description ( 'Package name to import seeder.' ) ; parent :: init ( ) ; }
Initialise command information.

@return void
Initialise command information .