Skip to content

Suggestion for Consistent WP-CLI Commands in wp-config File Creation and WordPress Installation #264

Open
@hmbashar

Description

@hmbashar

Hi,

I have a suggestion regarding the WP-CLI commands for creating the wp-config file and the WordPress installation process. When users create the wp-config file, they use the command wp config create --dbname, --dbuser, and --dbpass. However, during the installation process, they need to use --admin_user and --admin_password.

My point is that the difference between "pass" and "password" can create confusion. Users might not remember whether to use "pass" or "password" for the different commands. To make it more user-friendly and easier to remember, I suggest standardizing the keywords. For example, use either --dbpass and --admin_pass or --dbpassword and --admin_password consistently.

Is it possible to rename or add extra commands for this purpose? I realized this issue when I last installed WordPress using WP-CLI. I tried to create the config file with --dbpassword but received errors. Then, I used --dbpass successfully. During the installation, I tried --admin_pass and encountered errors again. I then checked the documentation and found the correct command --admin_password.

I believe using the same keyword for both commands, like "pass", would be more intuitive and easier to remember.

Thank you for considering this suggestion.

Best Regards,
Bashar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions