wp-cli / handbook

📖 Complete documentation for WP-CLI
https://make.wordpress.org/cli/handbook/
MIT License
186 stars 320 forks source link

Add note about `wp admin` being a separate package #479

Closed hirasso closed 5 months ago

hirasso commented 6 months ago

Feature Request

Describe your use case and the problem you are facing

The page about wp admin only documents the command, but running wp admin won't work without first installing the command.

Describe the solution you'd like

The page could provide a hint that the command needs to be installed separately, as described here: https://github.com/wp-cli/admin-command/

hirasso commented 6 months ago

Suggestion:

This command must be installed before you can use it: https://github.com/wp-cli/admin-command/#installing

If that wording looks good to the maintainers, I'd happily create a PR :)

swissspidy commented 6 months ago

There's already a section about installing on that page:

Screenshot 2024-01-17 at 13 28 15

Are you suggesting adding an additional sentence to that section for commands like this which aren't bundled with WP-CLI by default?

hirasso commented 6 months ago

OMG, you are right! 🫣😄 ...somehow I assumed that the global parameters would be the last bit of information on the page, so I stopped scrolling.

What would you think about moving the "Installing" section up on the page, so that it appears before the global parameters?

hirasso commented 5 months ago

I'll close this as it's kind of a non-issue