mirror of
https://ghproxy.net/https://github.com/wp-cli/entity-command.git
synced 2025-10-04 01:21:17 +08:00
Update readme
This commit is contained in:
parent
93476c25ce
commit
27f0a5e6fa
1 changed files with 48 additions and 0 deletions
48
README.md
48
README.md
|
@ -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.
|
||||
|
@ -5248,6 +5295,7 @@ wp user application-password list <user> [--<field>=<value>] [--field=<field>] [
|
|||
- json
|
||||
- count
|
||||
- yaml
|
||||
- ids
|
||||
---
|
||||
|
||||
[--orderby=<fields>]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue