mirror of
https://fast.feibisi.com/https://github.com/wp-cli/scaffold-command.git
synced 2025-10-04 17:01:28 +08:00
more install instructions cleanup
This commit is contained in:
parent
ec659f5643
commit
f131f799fc
1 changed files with 8 additions and 4 deletions
12
README.md
12
README.md
|
@ -9,7 +9,7 @@ A command line tool to do maintenance work on a WordPress install from the comma
|
|||
Installing
|
||||
----------
|
||||
|
||||
1. Clone the project:
|
||||
Clone the project:
|
||||
|
||||
```
|
||||
git clone https://github.com/andreascreten/wp-cli.git
|
||||
|
@ -29,10 +29,10 @@ Usage
|
|||
Go into a WordPress root folder:
|
||||
|
||||
```
|
||||
cd /var/www/wp/ # your path might be something else
|
||||
cd /var/www/wp/
|
||||
```
|
||||
|
||||
Typing the following command: `wp help` will show you an output similar to this:
|
||||
Typing `wp help` should show you an output similar to this:
|
||||
|
||||
```
|
||||
Example usage:
|
||||
|
@ -47,7 +47,11 @@ Example usage:
|
|||
So this tells us which commands are installed: eg. google-sitemap, core, home, ...
|
||||
Between brackets you can see their sub commands.
|
||||
|
||||
Let's for example try to install the hello dolly plugin from wordpress.org: `wp plugin install hello-dolly`.
|
||||
Let's for example try to install the hello dolly plugin from wordpress.org:
|
||||
|
||||
```
|
||||
wp plugin install hello-dolly
|
||||
```
|
||||
|
||||
Output:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue