/** * Get the option parser for this shell. * * @return \Cake\Console\ConsoleOptionParser */ public function getOptionParser() { return parent::getOptionParser()->addOptions(['overwrite' => ['short' => 'o', 'boolean' => true, 'help' => 'Overwrite files even if they already exist.']]); }
/** * Get the option parser for this shell. * * @return \Cake\Console\ConsoleOptionParser */ public function getOptionParser() { return parent::getOptionParser()->addOptions(['prefix' => ['help' => 'Routing prefix to migrate.', 'default' => 'admin']]); }
/** * Get the option parser for this shell. * * @return \Cake\Console\ConsoleOptionParser */ public function getOptionParser() { return parent::getOptionParser()->addOptions(['root' => ['default' => '', 'help' => 'Set an application\'s root path. Not defining it makes the current path the root one.']]); }