Skip to content

Commit baa5de3

Browse files
author
Andreas Creten
committed
License and read me update
1 parent 58c468d commit baa5de3

2 files changed

Lines changed: 40 additions & 5 deletions

File tree

‎LICENSE‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2011 Andreas Creten
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

‎README.md‎

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,31 @@ Usage
1717

1818
In your terminal, go into the wp-cli folder.
1919

20-
Type the following command:
21-
`./wp help`
20+
Typing the following command: `./wp help`, will show you an output similar to this:
2221

23-
This will show you an output similar to this:
24-
`Example usage:
22+
```
23+
Example usage:
2524
wp google-sitemap [build|help] ...
2625
wp core [update|help] ...
2726
wp home [help] ...
28-
wp plugins [status|activate|deactivate|install|delete|update|help] ...`
27+
wp plugins [status|activate|deactivate|install|delete|update|help] ...
28+
```
29+
30+
So this tells us that there are 4 commands installed: google-sitemap, core, home and pluggins.
31+
Between brackets you can see their sub command.
32+
33+
Let's for example try to update the hello dolly plugin from Wordpress: `./wp plugins install hello-dolly`
34+
35+
Output:
36+
```
37+
Installing Hello Dolly (1.5)
38+
39+
Downloading install package from http://downloads.wordpress.org/plugin/hello-dolly.1.5.zip ...
40+
Unpacking the package ...
41+
Installing the plugin ...
42+
43+
Success: The plugin is successfully installed
44+
```
2945

3046
Adding commands
3147
---------------

0 commit comments

Comments
 (0)