a-v-l / contao-member-console
Add member command to contao-console for Contao Open Source CMS
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
pkg:composer/a-v-l/contao-member-console
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.9 || ^5.0
Requires (Dev)
- contao/easy-coding-standard: ^3.0
- contao/manager-plugin: ^2.0
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
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) |