| @@ 49-58 (lines=10) @@ | ||
| 46 | * |
|
| 47 | * @return array |
|
| 48 | */ |
|
| 49 | public function getOptions() |
|
| 50 | { |
|
| 51 | return array_merge( |
|
| 52 | parent::getOptions(), |
|
| 53 | [ |
|
| 54 | ['addon', null, InputOption::VALUE_OPTIONAL, 'The addon to reset migrations for.'], |
|
| 55 | ['path', null, InputOption::VALUE_OPTIONAL, 'The path to migrations to reset.'], |
|
| 56 | ] |
|
| 57 | ); |
|
| 58 | } |
|
| 59 | } |
|
| 60 | ||
| @@ 198-207 (lines=10) @@ | ||
| 195 | * |
|
| 196 | * @return array |
|
| 197 | */ |
|
| 198 | protected function getOptions() |
|
| 199 | { |
|
| 200 | return array_merge( |
|
| 201 | parent::getOptions(), |
|
| 202 | [ |
|
| 203 | ['stream', null, InputOption::VALUE_OPTIONAL, 'The stream slug.'], |
|
| 204 | ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'], |
|
| 205 | ] |
|
| 206 | ); |
|
| 207 | } |
|
| 208 | ||
| 209 | /** |
|
| 210 | * Get the console command arguments. |
|