Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hmbashar opened this issue Jun 27, 2024 · 0 comments

Comments

@hmbashar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant