Exemplo n.º 1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('updateSchema');
     $this->setDescription('Write the schema to the database');
 }
Exemplo n.º 2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('addUser')->setDescription('Add a user record')->addArgument('username', InputArgument::REQUIRED, 'Username?')->addArgument('email', InputArgument::REQUIRED, 'Email?')->addArgument('password', InputArgument::REQUIRED, 'Password?');
 }