Is there a way to inject Commands into Hyde from a custom extension? #266
Answered
by
caendesilva
raphaelstolt
asked this question in
Q&A
-
Can't find anything about this topic from the documentation. |
Beta Was this translation helpful? Give feedback.
Answered by
caendesilva
Nov 16, 2024
Replies: 1 comment 1 reply
-
Hi! The best way is probably to do it from a service provider just like in Laravel! I can send you some links with examples next time I'm on the computer? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@raphaelstolt We register the Hyde commands in
ConsoleServiceProvider.php
, so that's a great option if you are developing an extension.The rest of the Laravel Artisan Console applies, and you can also use the underlying Symfony helpers if you need more control.
If this answers your question, feel free to mark it as an answer! Let me know if you need any more help! By the way, I'd love to see your extension when it's done!