@@ -43,23 +43,25 @@ private function runCommand(int $argc, array $argv): int
4343
4444 $ userCommand = strtolower ($ argv [1 ]);
4545
46+ // @formatter:off
4647 return match ($ userCommand ) {
47- 'build ' => $ this ->build ($ argc , $ argv ),
48- 'build-selection ' => $ this ->buildSelection ($ argc , $ argv ),
49- 'can-build ' => $ this ->canBuild ($ argc , $ argv ),
50- 'detect-engine ' => $ this ->detectEngine ($ argc , $ argv ),
51- 'generate ' => $ this ->generate ($ argc , $ argv ),
52- 'generate-all ' => $ this ->generateAll ($ argc , $ argv ),
53- 'has-built ' => $ this ->hasBuilt ($ argc , $ argv ),
54- 'help ' , '--help ' => $ this ->help ($ argc , $ argv ),
55- 'namespace-copy ' => $ this ->namespaceCopy ($ argc , $ argv ),
56- 'namespace-echo ' => $ this ->namespaceEcho ($ argc , $ argv ),
57- 'namespace-publish ' => $ this ->namespacePublish ($ argc , $ argv ),
58- 'namespace-remove-all ' => $ this ->namespaceRemoveAll ($ argc , $ argv ),
59- 'tag ' => $ this ->tag ($ argc , $ argv ),
48+ 'build ' => $ this ->build ($ argc , $ argv ),
49+ 'build-selection ' => $ this ->buildSelection ($ argc , $ argv ),
50+ 'can-build ' => $ this ->canBuild ($ argc , $ argv ),
51+ 'detect-engine ' => $ this ->detectEngine ($ argc , $ argv ),
52+ 'generate ' => $ this ->generate ($ argc , $ argv ),
53+ 'generate-all ' => $ this ->generateAll ($ argc , $ argv ),
54+ 'has-built ' => $ this ->hasBuilt ($ argc , $ argv ),
55+ 'help ' , '--help ' => $ this ->help ($ argc , $ argv ),
56+ 'namespace-copy ' => $ this ->namespaceCopy ($ argc , $ argv ),
57+ 'namespace-echo ' => $ this ->namespaceEcho ($ argc , $ argv ),
58+ 'namespace-publish ' => $ this ->namespacePublish ($ argc , $ argv ),
59+ 'namespace-remove-all ' => $ this ->namespaceRemoveAll ($ argc , $ argv ),
60+ 'tag ' => $ this ->tag ($ argc , $ argv ),
6061
6162 default => $ this ->notACommand ($ userCommand ),
6263 };
64+ // @formatter:on
6365 }
6466
6567 private function notACommand (string $ userCommand ): int
0 commit comments