mirror of
https://fast.feibisi.com/https://github.com/wp-cli/scaffold-command.git
synced 2025-10-04 17:01:28 +08:00
Merge branch 'master' of https://github.com/andreascreten/wp-cli
This commit is contained in:
commit
2a12250986
1 changed files with 4 additions and 2 deletions
|
@ -9,6 +9,8 @@ A tool to control WordPress installations from the command line.
|
|||
Installing
|
||||
----------
|
||||
|
||||
If you're on Ubuntu or Debian, just use the [.deb package](https://github.com/downloads/andreascreten/wp-cli/wp-cli_0.1.deb)
|
||||
|
||||
Clone the project:
|
||||
|
||||
```
|
||||
|
@ -20,13 +22,13 @@ git submodule update --init
|
|||
Make a symlink to the executable:
|
||||
|
||||
```
|
||||
sudo ln -s /path-to-wp-cli-dir/wp /usr/local/bin/
|
||||
sudo ln -s /path-to-wp-cli-dir/bin/wp /usr/local/bin/
|
||||
```
|
||||
|
||||
Make a symlink to the autocomplete file (Linux):
|
||||
|
||||
```
|
||||
sudo ln -s /path-to-wp-cli-dir/wp-cli-completion.bash /etc/bash_completion.d/wp
|
||||
sudo ln -s /path-to-wp-cli-dir/bin/wp-cli-completion.bash /etc/bash_completion.d/wp
|
||||
```
|
||||
|
||||
Usage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue