-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor sake around Symfony console #11341
Comments
I've gotten pretty far with this for everything included in installer. I'm nearly at the point where I can clean up and start writing tests (and then move onto the rest of kitchen sink). One thing I'd like some opinions on is how the Right now the PRs have these just swapping
This however keeps all of the commands clumped together in an unhelpful way, and means you have to type I would like to change the commands to be more meaningful in CLI, while keeping their HTTP routes as they currently are. That would look more like this:
This gives us a more sensible grouping for the CLI commands, allows for new commands to be more easily added to those groupings in a meaningful way, reduces unnecessary key-strokes, and I think just looks way tidier. (I'm planning on hiding the tasks from this initial list (at least if there are more than some configurable number of them) and only showing them when you run @silverstripe/core-team Does anyone have any thoughts on this? |
@GuySartorelli 100% agree. Coming from a laravel view that makes a lot more sense than prefixing everything |
Looks good, happy to get rid of the |
+1 for getting rid of the dev prefix |
All good to drop the |
@GuySartorelli Will need to rebase the PRs that have phpunit/phpunit in I'm unable to install of the PR's at the same time locally due to conflicts between phpunit 11 which was just merged and phpunit 9 |
Yup there's rebasing to be done, just needed that CMS 5 pr merged first 👍 |
@GuySartorelli A few things I've noticed from doing some quick testing locally, which I'll not here rather than on individual PRs where they'll need to be fixed:
|
sake is basic though functional way to run cli commands
It's very non-standard, and it's likely that we could make the interface significantly better by changing it to use symfony/console instead. There may also be some downstream benefits of making it easier to project to extend/customise if they have a need to
Related
Acceptance criteria
sake
, though possibly some of the commands are different, though preferably notCMS 5 PRs
CMS 6 PRs
kitchen sink run
The text was updated successfully, but these errors were encountered: