Skip to content

Commit c270cc9

Browse files
authored
Merge pull request #501 from ernilambar/update/readme
2 parents 93476c2 + 27f0a5e commit c270cc9

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3463,6 +3463,53 @@ wp site create --slug=<slug> [--title=<title>] [--email=<email>] [--network_id=<
34633463

34643464

34653465

3466+
### wp site generate
3467+
3468+
Generate some sites.
3469+
3470+
~~~
3471+
wp site generate [--count=<number>] [--slug=<slug>] [--email=<email>] [--network_id=<network-id>] [--private] [--format=<format>]
3472+
~~~
3473+
3474+
Creates a specified number of new sites.
3475+
3476+
**OPTIONS**
3477+
3478+
[--count=<number>]
3479+
How many sites to generates?
3480+
---
3481+
default: 100
3482+
---
3483+
3484+
[--slug=<slug>]
3485+
Path for the new site. Subdomain on subdomain installs, directory on subdirectory installs.
3486+
3487+
[--email=<email>]
3488+
Email for admin user. User will be created if none exists. Assignment to super admin if not included.
3489+
3490+
[--network_id=<network-id>]
3491+
Network to associate new site with. Defaults to current network (typically 1).
3492+
3493+
[--private]
3494+
If set, the new site will be non-public (not indexed)
3495+
3496+
[--format=<format>]
3497+
Render output in a particular format.
3498+
---
3499+
default: progress
3500+
options:
3501+
- progress
3502+
- ids
3503+
---
3504+
3505+
**EXAMPLES**
3506+
3507+
# Generate 10 sites.
3508+
$ wp site generate --count=10
3509+
Generating sites 100% [================================================] 0:01 / 0:04
3510+
3511+
3512+
34663513
### wp site deactivate
34673514

34683515
Deactivates one or more sites.
@@ -5248,6 +5295,7 @@ wp user application-password list <user> [--<field>=<value>] [--field=<field>] [
52485295
- json
52495296
- count
52505297
- yaml
5298+
- ids
52515299
---
52525300

52535301
[--orderby=<fields>]

0 commit comments

Comments
 (0)