@@ 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 |
@@ 205-214 (lines=10) @@ | ||
202 | * |
|
203 | * @return array |
|
204 | */ |
|
205 | protected function getOptions() |
|
206 | { |
|
207 | return array_merge( |
|
208 | parent::getOptions(), |
|
209 | [ |
|
210 | ['stream', null, InputOption::VALUE_OPTIONAL, 'The stream slug.'], |
|
211 | ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'], |
|
212 | ] |
|
213 | ); |
|
214 | } |
|
215 | ||
216 | /** |
|
217 | * Get the console command arguments. |