Replies: 1 comment
-
I don't think this is possible. Behind the scenes, Laravel and Laravel Zero use Symfony Console, and it doesn't seem to support this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I want to define multiple commands under the same namespace, e.g.
servers list
,servers create
andservers retrieve
.The default way in Laravel (Zero) would be to have the following signatures:
servers:list
,servers:create
andservers:retrieve
I personally find it more elegant to use the commands in the console with
servers list
instead ofservers:list
, just like the Stripe CLI or the GitHub CLI for example do.Is it possible to achieve such a syntax?
Beta Was this translation helpful? Give feedback.
All reactions