public function options($opts) { parent::options($opts); $self = $this; $opts->add('D|data-source:', 'specify data source id')->validValues(function () use($self) { return $self->config->getDataSourceIds(); }); }
public function options($opts) { $opts->add('f|force', 'force generate all schema files.'); parent::options($opts); }