This is probably a really basic question, but something I don't grasp from the docs.
I know how to create and run Artisan commands from the console, and I know how to add arguments and options like this:
artisan some:function {argument} {--option}
But is there any way to add sub-methods within this call, ie:
artisan mycommand:foo artisan mycommand:bar
I had assumed so (otherwise what is the colon even for?) and yet I can only find information relating to options and arguments in the docs.
Is this possible, and how do I handle these within my Artisan command class? Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire