mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/14123] Add descriptive help to the CLI help output
PHPBB3-14123
This commit is contained in:
1
phpBB/phpbb/console/command/cache/purge.php
vendored
1
phpBB/phpbb/console/command/cache/purge.php
vendored
@@ -60,6 +60,7 @@ class purge extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('cache:purge')
|
||||
->setDescription($this->user->lang('PURGE_CACHE'))
|
||||
->setHelp($this->user->lang('CLI_HELP_PURGE_CACHE'))
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -26,6 +26,7 @@ class delete extends command
|
||||
$this
|
||||
->setName('config:delete')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_DELETE_CONFIG'))
|
||||
->setHelp($this->user->lang('CLI_HELP_DELETE_CONFIG'))
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -27,6 +27,7 @@ class get extends command
|
||||
$this
|
||||
->setName('config:get')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_GET_CONFIG'))
|
||||
->setHelp($this->user->lang('CLI_HELP_GET_CONFIG'))
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -27,6 +27,7 @@ class increment extends command
|
||||
$this
|
||||
->setName('config:increment')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_INCREMENT_CONFIG'))
|
||||
->setHelp($this->user->lang('CLI_HELP_INCREMENT_CONFIG'))
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -27,6 +27,7 @@ class set extends command
|
||||
$this
|
||||
->setName('config:set')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_SET_CONFIG'))
|
||||
->setHelp($this->user->lang('CLI_HELP_SET_CONFIG'))
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -27,6 +27,7 @@ class set_atomic extends command
|
||||
$this
|
||||
->setName('config:set-atomic')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_SET_ATOMIC_CONFIG'))
|
||||
->setHelp($this->user->lang('CLI_HELP_SET_ATOMIC_CONFIG'))
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -40,6 +40,7 @@ class cron_list extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('cron:list')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_CRON_LIST'))
|
||||
->setHelp($this->user->lang('CLI_HELP_CRON_LIST'))
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -50,6 +50,7 @@ class run extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('cron:run')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_CRON_RUN'))
|
||||
->setHelp($this->user->lang('CLI_HELP_CRON_RUN'))
|
||||
->addArgument('name', InputArgument::OPTIONAL, $this->user->lang('CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1'))
|
||||
;
|
||||
}
|
||||
|
@@ -52,6 +52,7 @@ class migrate extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('db:migrate')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_DB_MIGRATE'))
|
||||
->setHelp($this->user->lang('CLI_HELP_DB_MIGRATE'))
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -31,6 +31,7 @@ class migration_tips extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('dev:migration-tips')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_FIND_MIGRATIONS'))
|
||||
->setHelp($this->user->lang('CLI_HELP_FIND_MIGRATIONS'))
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -23,6 +23,7 @@ class disable extends command
|
||||
$this
|
||||
->setName('extension:disable')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_DISABLE_EXTENSION'))
|
||||
->setHelp($this->user->lang('CLI_HELP_DISABLE_EXTENSION'))
|
||||
->addArgument(
|
||||
'extension-name',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -23,6 +23,7 @@ class enable extends command
|
||||
$this
|
||||
->setName('extension:enable')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_ENABLE_EXTENSION'))
|
||||
->setHelp($this->user->lang('CLI_HELP_ENABLE_EXTENSION'))
|
||||
->addArgument(
|
||||
'extension-name',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -23,6 +23,7 @@ class purge extends command
|
||||
$this
|
||||
->setName('extension:purge')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_PURGE_EXTENSION'))
|
||||
->setHelp($this->user->lang('CLI_HELP_PURGE_EXTENSION'))
|
||||
->addArgument(
|
||||
'extension-name',
|
||||
InputArgument::REQUIRED,
|
||||
|
@@ -22,6 +22,7 @@ class show extends command
|
||||
$this
|
||||
->setName('extension:show')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_LIST_EXTENSIONS'))
|
||||
->setHelp($this->user->lang('CLI_HELP_LIST_EXTENSIONS'))
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,7 @@ class recalculate_email_hash extends \phpbb\console\command\command
|
||||
$this
|
||||
->setName('fixup:recalculate-email-hash')
|
||||
->setDescription($this->user->lang('CLI_DESCRIPTION_RECALCULATE_EMAIL_HASH'))
|
||||
->setHelp($this->user->lang('CLI_HELP_RECALCULATE_EMAIL_HASH'))
|
||||
;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user