Skip to content

Commit

Permalink
Merge pull request #501 from ernilambar/update/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Jul 29, 2024
2 parents 93476c2 + 27f0a5e commit c270cc9
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3463,6 +3463,53 @@ wp site create --slug=<slug> [--title=<title>] [--email=<email>] [--network_id=<



### wp site generate

Generate some sites.

~~~
wp site generate [--count=<number>] [--slug=<slug>] [--email=<email>] [--network_id=<network-id>] [--private] [--format=<format>]
~~~

Creates a specified number of new sites.

**OPTIONS**

[--count=<number>]
How many sites to generates?
---
default: 100
---

[--slug=<slug>]
Path for the new site. Subdomain on subdomain installs, directory on subdirectory installs.

[--email=<email>]
Email for admin user. User will be created if none exists. Assignment to super admin if not included.

[--network_id=<network-id>]
Network to associate new site with. Defaults to current network (typically 1).

[--private]
If set, the new site will be non-public (not indexed)

[--format=<format>]
Render output in a particular format.
---
default: progress
options:
- progress
- ids
---

**EXAMPLES**

# Generate 10 sites.
$ wp site generate --count=10
Generating sites 100% [================================================] 0:01 / 0:04



### wp site deactivate

Deactivates one or more sites.
Expand Down Expand Up @@ -5248,6 +5295,7 @@ wp user application-password list <user> [--<field>=<value>] [--field=<field>] [
- json
- count
- yaml
- ids
---

[--orderby=<fields>]
Expand Down

0 comments on commit c270cc9

Please sign in to comment.