跳转到主要内容

最近更新的页面

Then /^STDOUT should end with a table containing rows:$/

WP-CLI 手册(英文原版) References

Expect STDOUT to end with a table containing the given rows. Usage Useful when the table is prece...

由 cocobook-sync 更新于 1 个月前

Then /^STDOUT should be YAML containing:$/

WP-CLI 手册(英文原版) References

Expect STDOUT to be YAML containing certain content. Usage Scenario: My example scenario When I...

由 cocobook-sync 更新于 1 个月前

Then /^STDOUT should be JSON containing:$/

WP-CLI 手册(英文原版) References

Expect valid JSON output in STDOUT. Usage Scenario: My example scenario When I run `wp post met...

由 cocobook-sync 更新于 1 个月前

Then /^STDOUT should be CSV containing:$/

WP-CLI 手册(英文原版) References

Expect STDOUT to be CSV containing certain values. Usage Scenario: My example scenario When I r...

由 cocobook-sync 更新于 1 个月前

Then /^STDOUT should be a table containing rows:$/

WP-CLI 手册(英文原版) References

Expect STDOUT to be a table containing the given rows. Usage Scenario: My example scenario Give...

由 cocobook-sync 更新于 1 个月前

Then /^STDOUT should be a JSON array containing:$/

WP-CLI 手册(英文原版) References

Expect valid JSON array output in STDOUT. Usage Errors when some items are missing from the expec...

由 cocobook-sync 更新于 1 个月前

Then /^an email should (be sent|not be sent)$/

WP-CLI 手册(英文原版) References

Expect an email to be sent (or not). Usage Scenario: My example scenario When I run `wp user re...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should( strictly)? (be|contain|not contain):$/

WP-CLI 手册(英文原版) References

Check the contents of STDOUT or STDERR. Usage Scenario: My example scenario Given an empty dire...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should( not)? match (((\/.+\/)|(#.+#))([a-z]+)?)$/

WP-CLI 手册(英文原版) References

Match STDOUT or STDERR against a regex. Usage Scenario: My example scenario When I run `wp dist...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should not be empty$/

WP-CLI 手册(英文原版) References

Expect STDOUT or STDERR not to be empty. Usage Scenario: My example scenario When I run `wp use...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should not be a number$/

WP-CLI 手册(英文原版) References

Expect STDOUT or STDERR to not be a numeric value. Usage Scenario: My example scenario Given a ...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should be empty$/

WP-CLI 手册(英文原版) References

Expect STDOUT or STDERR to be empty. Usage Scenario: My other scenario Given a WP install Whe...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should be a version string (<|<=|>|>=|==|=|!=|<>) ([+\w.{}-]+)$/

WP-CLI 手册(英文原版) References

Expect STDOUT or STDERR to be a version string comparing to the given version. Usage Scenario: My...

由 cocobook-sync 更新于 1 个月前

Then /^(STDOUT|STDERR) should be a number$/

WP-CLI 手册(英文原版) References

Expect STDOUT or STDERR to be a numeric value. Usage Scenario: My example scenario Given a WP i...

由 cocobook-sync 更新于 1 个月前

Internal API

WP-CLI 手册(英文原版) References

WP-CLI includes a number of utilities which are considered stable and meant to be used by command...

由 cocobook-sync 更新于 1 个月前

Given wp-config.php

WP-CLI 手册(英文原版) References

Create a wp-config.php file using wp config create. Usage Scenario: My example scenario Given ...

由 cocobook-sync 更新于 1 个月前

Given WP files

WP-CLI 手册(英文原版) References

Download WordPress files without installing. Usage Scenario: My example scenario Given an empty...

由 cocobook-sync 更新于 1 个月前

Given these installed and active plugins:

WP-CLI 手册(英文原版) References

Installs and activates one or more plugins. Usage Scenario: My example scenario Given a WP inst...

由 cocobook-sync 更新于 1 个月前

Given download:

WP-CLI 手册(英文原版) References

Download multiple files into the given destinations. Usage Scenario: My example scenario Given ...

由 cocobook-sync 更新于 1 个月前

Given an empty directory

WP-CLI 手册(英文原版) References

Creates an empty directory. Usage Scenario: My example scenario Given an empty directory ... ...

由 cocobook-sync 更新于 1 个月前