aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-26 19:38:58 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-26 19:38:58 +0100
commit4db229ff6c6c260e4fdb26449b391f3858c9479a (patch)
tree0750041673accf156a4e5390bf73a858ac69b872 /phpBB/config
parent1f962dacafdf84a7895b1e5d81973c2264355e2e (diff)
parent5b3b0edd8010ccd4735d4000d284d7717bced897 (diff)
downloadforums-4db229ff6c6c260e4fdb26449b391f3858c9479a.tar
forums-4db229ff6c6c260e4fdb26449b391f3858c9479a.tar.gz
forums-4db229ff6c6c260e4fdb26449b391f3858c9479a.tar.bz2
forums-4db229ff6c6c260e4fdb26449b391f3858c9479a.tar.xz
forums-4db229ff6c6c260e4fdb26449b391f3858c9479a.zip
Merge pull request #4199 from VSEphpbb/ticket/12684
[ticket/12684] Add console command user:add * VSEphpbb/ticket/12684: (26 commits) [ticket/12684] Use a switch statement for readability [ticket/12684] Refactor a test [ticket/12684] Use interactive method correctly [ticket/12684] Extract interactivity to a method [ticket/12684] Update option help [ticket/12684] Add extended help for the user:add command [ticket/12684] Add shorthand alternates to the options [ticket/12684] Remove whitespace [ticket/12684] Add an error on user creation failure [ticket/12684] Remove unnecessary null arguments [ticket/12684] Additional clean up [ticket/12684] Allowed to use $this in enclosure [ticket/12684] Move all lang keys to cli [ticket/12684] Fix a few mistakes and clean it up [ticket/12684] Some code clean up [ticket/12684] Another little fix [ticket/12684] Fix tests [ticket/12684] Update to use non-deprecated methods [ticket/12684] Add send email option [ticket/12684] Add input validation ...
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_console.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml
index 2055fb68c5..0a28c0ed1f 100644
--- a/phpBB/config/default/container/services_console.yml
+++ b/phpBB/config/default/container/services_console.yml
@@ -219,3 +219,16 @@ services:
- '@user'
tags:
- { name: console.command }
+
+ console.command.user.add:
+ class: phpbb\console\command\user\add
+ arguments:
+ - '@user'
+ - '@dbal.conn'
+ - '@config'
+ - '@language'
+ - '@passwords.manager'
+ - '%core.root_path%'
+ - '%core.php_ext%'
+ tags:
+ - { name: console.command }