src/Shell/BasicSeedShell.php
public function getOptionParser() {
		$parser = parent::getOptionParser();
		$parser
			->description(
				'Provides a mechanism for loading data into any of Cake\'s configured databases.'
			)
			->addSubcommand('init', [
				'help' => 'Initialize a new, empty seed file. Respects both the --dev and --file options.',
			])
			->addOption('dev', [
				'short' => 'd',
				'boolean' => true,
				'default' => false,
				'help' => 'Use the "dev" seed file instead of the default.'
			])
			->addOption('file', [
				'short' => 'f',
				'help' => 'Manually specify the file that should be used. When this option is present, its argument will always be used explicitly, overriding the --dev option if it is also present.'
			]);
		return $parser;
	}
public function getOptionParser() {
		$parser = parent::getOptionParser();
		$parser
			->description(
				'Provides a mechanism for loading data into any of Cake\'s configured databases.'
			)
			->addSubcommand('init', [
				'help' => 'Initialize a new, empty seed file. Respects both the --dev and --file options.',
			])
			->addOption('dev', [
				'short' => 'd',
				'boolean' => true,
				'default' => false,
				'help' => 'Use the "dev" seed file instead of the default.'
			])
			->addOption('file', [
				'short' => 'f',
				'help' => 'Manually specify the file that should be used. When this option is present, its argument will always be used explicitly, overriding the --dev option if it is also present.'
			]);
		return $parser;
	}
public function getOptionParser ( ) { $ parser = parent :: getOptionParser ( ) ; $ parser -> description ( 'Provides a mechanism for loading data into any of Cake\'s configured databases.' ) -> addSubcommand ( 'init' , [ 'help' => 'Initialize a new, empty seed file. Respects both the --dev and --file options.' , ] ) -> addOption ( 'dev' , [ 'short' => 'd' , 'boolean' => true , 'default' => false , 'help' => 'Use the "dev" seed file instead of the default.' ] ) -> addOption ( 'file' , [ 'short' => 'f' , 'help' => 'Manually specify the file that should be used. When this option is present, its argument will always be used explicitly, overriding the --dev option if it is also present.' ] ) ; return $ parser ; }
Configure command line options and arguments.

@return ConsoleOptionParser
Configure command line options and arguments .