Skip to content

Commit b4f86bf

Browse files
authored
feat: introduce modern attribute-based spark commands (#10120)
* add the Command attribute * add the CLI exceptions * add the `Argument` and `Option` value objects * add `AbstractCommand` class * refactor `Console` and `Commands` to cater modern commands * migrate some built-in commands * move legacy command fixtures * add tests to AbstractCommand * remove support for the `-h` option in `routes` command * add documentation and changelog * address reviews
1 parent ec07563 commit b4f86bf

74 files changed

Lines changed: 5277 additions & 591 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
__DIR__ . '/system/ThirdParty',
8484
__DIR__ . '/tests/system/Config/fixtures',
8585
__DIR__ . '/tests/system/Filters/fixtures',
86-
__DIR__ . '/tests/_support/Commands/Foobar.php',
86+
__DIR__ . '/tests/_support/Commands/Legacy/Foobar.php',
8787
__DIR__ . '/tests/_support/View',
8888
__DIR__ . '/tests/system/View/Views',
8989

0 commit comments

Comments
 (0)