| @@ 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 | ||
| @@ 195-204 (lines=10) @@ | ||
| 192 | * |
|
| 193 | * @return array |
|
| 194 | */ |
|
| 195 | protected function getOptions() |
|
| 196 | { |
|
| 197 | return array_merge( |
|
| 198 | parent::getOptions(), |
|
| 199 | [ |
|
| 200 | ['stream', null, InputOption::VALUE_OPTIONAL, 'The stream slug.'], |
|
| 201 | ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'], |
|
| 202 | ] |
|
| 203 | ); |
|
| 204 | } |
|
| 205 | ||
| 206 | /** |
|
| 207 | * Get the console command arguments. |
|