Create a new member, and optionally add them to groups. The member:change-groups
command will be chained to the end if you ask for it.
$ ssconsole member:create [<email>] [<username>] [<password>] [<firstname>] [<surname>]
Type | Name | Required | Description | Options | Default |
---|---|---|---|---|---|
Argument | email |
Yes | The email address for the member | string | Prompt |
Argument | username |
No | The username for the member | string | Prompt |
Argument | password |
Yes | A password for the member | string | Prompt |
Argument | firstname |
No | The member's first name | string | Prompt |
Argument | surname |
No | The member's surname | string | Prompt |
$ ssconsole member:create [email protected] myusername opensesame John James
Member created.
Do you want to assign groups now? yes
Select the groups to add this Member to
[0] content-authors
[1] administrators
> 1
Adding [email protected] to groups: administrators
Groups updated.