framework icon indicating copy to clipboard operation
framework copied to clipboard

(extensions) API for creating Artisan commands.

Open prplwtf opened this issue 9 months ago • 1 comments

prplwtf avatar May 10 '24 21:05 prplwtf

Implemented, requires testing.

prplwtf avatar May 11 '24 14:05 prplwtf

We might re-do the implementation as it's not how I want to be done. We might go for a Components.yml approach requiring commands to be registered in a Artisan.yml while Blueprint does it's magic and calls the command's functions.

For applying these changes, we could just steal a couple lines of code from the components script, with the added bonus of having to do less with sed as these commands should be able to live in isolated files instead of thrown into a component.

prplwtf avatar Jun 19 '24 11:06 prplwtf

I'd love to receive some developer feedback on this to see which implementation would benefit developers (and users) the most. I'll try to maybe get a working version before next release, but no promises.

prplwtf avatar Jun 19 '24 11:06 prplwtf

Done! Just need Laravel schedules now and we'll have some awesome new extension APIs for next release.

prplwtf avatar Jun 22 '24 11:06 prplwtf