Command Option Default Values | Laravel Artisan Command Input and Command Signatures
It is also possible to specify a default value for the options. The following signature is similar to the previous one, except that the --age option will have a default value of 0 that will be used if the end user does not specify an age: 1 <?php...