Skip to content

Commit 47bfca8

Browse files
committed
generate help page for each command
1 parent f8b897a commit 47bfca8

136 files changed

Lines changed: 2982 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
3. Build:
88

99
```bash
10-
vendor/bin/phake path=/path/to/wp/install version=v0.10.2
10+
vendor/bin/phake path=/path/to/wp-cli-dir
1111
```
1212

1313
### Preview locally

assets/css/stylesheet.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,23 +188,23 @@ pre code {
188188
background-color: inherit;
189189
}
190190

191+
h3 + table {
192+
margin-top: 10px;
193+
}
194+
191195
table {
192196
width: 100%;
193197
margin: 0 0 20px 0;
194198
}
195199

196200
th, td {
197201
vertical-align: top;
202+
padding: 5px 20px 5px 0;
198203
}
199204

200205
th {
201206
text-align: left;
202207
border-bottom: 1px dashed #b5e853;
203-
padding: 5px 10px;
204-
}
205-
206-
td {
207-
padding: 5px 10px;
208208
}
209209

210210
hr {

commands/blog/create/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: default
3+
title: 'wp blog create'
4+
---
5+
6+
`wp blog create` - Create a blog in a multisite install.
7+
8+
### OPTIONS
9+
10+
--slug=<slug>
11+
Path for the new blog. Subdomain on subdomain installs, directory on subdirectory installs.
12+
13+
--title=<title&gt;
14+
Title of the new blog. Default: prettified slug.
15+
16+
--email=<email>
17+
Email for Admin user. User will be created if none exists. Assignement to Super Admin if not included.
18+
19+
--site_id=<site-id>
20+
Site (network) to associate new blog with. Defaults to current site (typically 1).
21+
22+
--private
23+
If set, the new blog will be non-public (not indexed)
24+
25+
--porcelain
26+
If set, only the blog id will be output on success.
27+
28+

commands/blog/delete/index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
layout: default
3+
title: 'wp blog delete'
4+
---
5+
6+
`wp blog delete` - Delete a blog in a multisite install.
7+
8+
### OPTIONS
9+
10+
<blog-id>
11+
The id of the blog to delete. If not provided, you must set the --slug parameter.
12+
13+
--slug=<slug>
14+
Path of the blog to be deleted. Subdomain on subdomain installs, directory on subdirectory installs.
15+
16+
--yes
17+
Answer yes to the confirmation message.
18+
19+
--keep-tables
20+
Delete the blog from the list, but don't drop it's tables.
21+
22+

commands/blog/empty/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: 'wp blog empty'
4+
---
5+
6+
`wp blog empty` - Empty a blog of its content.
7+
8+
### EXAMPLES
9+
10+
wp blog empty
11+

commands/blog/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: 'wp blog'
4+
---
5+
6+
`wp blog` - Manage blogs in a multisite install.
7+
8+
9+
10+
### SUBCOMMANDS
11+
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>Name</th>
16+
<th>Description</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td><a href="/commands/blog/create">create</a></td>
22+
<td>Create a blog in a multisite install.</td>
23+
</tr>
24+
<tr>
25+
<td><a href="/commands/blog/delete">delete</a></td>
26+
<td>Delete a blog in a multisite install.</td>
27+
</tr>
28+
<tr>
29+
<td><a href="/commands/blog/empty">empty</a></td>
30+
<td>Empty a blog of its content.</td>
31+
</tr>
32+
</tbody>
33+
</table>

commands/cache/add/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: 'wp cache add'
4+
---
5+
6+
`wp cache add` - Add a value to the object cache.
7+
8+
9+

commands/cache/decr/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: 'wp cache decr'
4+
---
5+
6+
`wp cache decr` - Decrement a value in the object cache.
7+
8+
9+

commands/cache/delete/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: 'wp cache delete'
4+
---
5+
6+
`wp cache delete` - Remove a value from the object cache.
7+
8+
9+

commands/cache/flush/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: 'wp cache flush'
4+
---
5+
6+
`wp cache flush` - Flush the object cache.
7+
8+
9+

0 commit comments

Comments
 (0)