: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
:heavy_plus_sign: Added
admin-tools
specific support foree auth
command. :arrows_clockwise: Changegenerate_global_auth_files()
logic :arrows_clockwise: Fix some PHPCS issuesSubcommands :wrench:
1. Creating
admin-tools
auth userCreates 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 userDeletes an user from
admin-tools
Syntax:
ee auth delete admin-tools
Parameters:
--user
usernameExample:
ee auth create admin-tools --user=test
3. Updating
admin-tools
auth userUpdates 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
authLists existing users on
admin-tools
Syntax:
ee auth list admin-tools
Example:
ee auth list admin-tools
Functions to watch out for :eyes:
admin_tools_create_auth()
admin_tools_update_auth()
admin_tools_delete_auth()
admin_tools_list_auth()
generate_global_auth_files()
Footnotes:
Reference: #40