Closed fruworg closed 7 months ago
This is the way to write options in the PHP command file. Things behave accordingly in the consolle afterward.
``bash
$ php artisan accounts:create-admin-account --help Description: Create an admin account
Usage: accounts:create-admin-account [options]
Options:
-u, --username[=USERNAME]
-p, --password[=PASSWORD]
-d, --domain[=DOMAIN]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
``
hello! fix for
The "--u" option does not exist
.