aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/config/default/container/services_console.yml10
-rw-r--r--phpBB/language/en/cli.php5
2 files changed, 15 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml
index 2055fb68c5..b39353d841 100644
--- a/phpBB/config/default/container/services_console.yml
+++ b/phpBB/config/default/container/services_console.yml
@@ -175,6 +175,16 @@ services:
tags:
- { name: console.command }
+ console.command.user.add:
+ class: phpbb\console\command\user\add
+ arguments:
+ - '@user'
+ - '@dbal.conn'
+ - '@config'
+ - '@passwords.manager'
+ tags:
+ - { name: console.command }
+
console.command.reparser.list:
class: phpbb\console\command\reparser\list_all
arguments:
diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php
index 1c549e5f9f..9a082b0c57 100644
--- a/phpBB/language/en/cli.php
+++ b/phpBB/language/en/cli.php
@@ -82,6 +82,11 @@ $lang = array_merge($lang, array(
'CLI_DESCRIPTION_THUMBNAIL_GENERATE' => 'Generate all missing thumbnails.',
'CLI_DESCRIPTION_THUMBNAIL_RECREATE' => 'Recreate all thumbnails.',
+ 'CLI_DESCRIPTION_USER_ADD' => 'Add a new user',
+ 'CLI_DESCRIPTION_USER_ADD_OPTION_USERNAME' => 'Username of the new user',
+ 'CLI_DESCRIPTION_USER_ADD_OPTION_PASSWORD' => 'Password of the new user',
+ 'CLI_DESCRIPTION_USER_ADD_OPTION_EMAIL' => 'E-mail address of the new user',
+
'CLI_EXTENSION_DISABLE_FAILURE' => 'Could not disable extension %s',
'CLI_EXTENSION_DISABLE_SUCCESS' => 'Successfully disabled extension %s',
'CLI_EXTENSION_ENABLE_FAILURE' => 'Could not enable extension %s',