/** * {inheridoc} */ public function register(Manager $arguments) { $arguments->add(['help' => ['prefix' => 'h', 'longPrefix' => 'help', 'description' => Cli::lang('console_display_help'), 'noValue' => true], 'list' => ['prefix' => 'l', 'longPrefix' => 'list', 'description' => Cli::lang('console_migration_arg_list'), 'noValue' => true], 'current' => ['prefix' => 'c', 'longPrefix' => 'current', 'description' => Cli::lang('console_migration_arg_current'), 'noValue' => true], 'to' => ['prefix' => 't', 'longPrefix' => 'to', 'description' => Cli::lang('console_migration_arg_to'), 'castTo' => 'int']]); }
/** * {inheridoc} */ public function register(Manager $arguments) { $arguments->add(['help' => ['prefix' => 'h', 'longPrefix' => 'help', 'description' => Cli::lang('console_display_help'), 'noValue' => true]]); }