EnAccess / micropowermanager

Management Tool for Decentralized Utilities.
https://micropowermanager.com/
MIT License
0 stars 0 forks source link

`AbstractSharedCommand` not propagating it's option to `help` #91

Open dmohns opened 3 weeks ago

dmohns commented 3 weeks ago

The AbstractSharedCommand class equips all commands that inherit from it with the --company-id.

However, this is not reflected in artisan help for example

>> php artisan help migrator:migrate
Description:
  Migrates all base migrations to provided database name

Usage:
  migrator:migrate

Options:
  -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

which can be misleading.

Please change it so that these options are shown