Skip to content

a-v-l/contao-member-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Member command for contao-console

Packagist Version

Adds contao:member:create, contao:member:list, contao:member:password and contao:member:delete commads to Contao-CLI to create front end users (members), list existing members, reset passwords or delete members.

The command can either be run without flags in interactive mode or with required flags and -n (no interaction).

Note:
contao:member:delete without the -n flag will first print information about the given member and then ask for confirmation to delete the member.

Usage

Options for contao:member:create

Flag Description
-u, --username=USERNAME The username to create
--firstname=FIRSTNAME The firstname name
--lastname=LASTNAME The lastname name
--email=EMAIL The e-mail address
-p, --password=PASSWORD The password
--group[=GROUP] The groups to assign the user to (optional) (multiple values allowed)
-n, --no-interaction Do not ask any interactive question

Options for contao:member:list

Flag Description
--column=COLUMN The columns display in the table (multiple values allowed)
--format=FORMAT The output format (txt, json) [default: "txt"]

Arguments for contao:member:password and contao:member:delete

Argument Description
username The username of the front end user

Options for contao:member:password

Flag Description
-p, --password=PASSWORD The new password (using this option is not recommended for security reasons)