a-v-l/contao-member-console

Add member command to contao-console for Contao Open Source CMS

v1.3.0 2024-02-21 10:19 UTC

This package is auto-updated.

Last update: 2024-04-21 11:01:26 UTC


README

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)