Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #501

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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