EasyEngine / auth-command

4 stars 9 forks source link

Feature: `admin-tools`-specific subcommands (Ref: #40) #52

Open danish17 opened 3 years ago

danish17 commented 3 years ago

:heavy_plus_sign: Added admin-tools specific support for ee auth command. :arrows_clockwise: Change generate_global_auth_files() logic :arrows_clockwise: Fix some PHPCS issues

Subcommands :wrench:

1. Creating admin-tools auth user

Creates a new user to be used on <site_name>/ee-admin

Syntax: ee auth create admin-tools

Parameters: --user username --pass password (optional)

Example: ee auth create admin-tools --user=test --pass=test

2. Deleting admin-tools auth user

Deletes an user from admin-tools

Syntax: ee auth delete admin-tools

Parameters: --user username

Example: ee auth create admin-tools --user=test

3. Updating admin-tools auth user

Updates an existing user on admin-tools

Syntax: ee auth update admin-tools

Parameters: --user username to update --pass new password (optional)

Example: ee auth update admin-tools --user=test --pass=updatedtest

4. Listing admin-tools auth

Lists existing users on admin-tools

Syntax: ee auth list admin-tools

Example: ee auth list admin-tools


Functions to watch out for :eyes:


Footnotes:

Reference: #40

kirtangajjar commented 3 years ago

@danish17 Please also checkout requested changes