跳转到主要内容

最近更新的页面

Given an empty cache

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

Clears the WP-CLI cache directory. Usage Scenario: My example scenario Given an empty cache ....

由 cocobook-sync 更新于 1 个月前

Given a WP install(ation) with Composer and a custom vendor directory :vendor_directory

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

Installs WordPress with Composer and a custom vendor directory. Usage Scenario: My example scenar...

由 cocobook-sync 更新于 1 个月前

Given a WP install(ation) with Composer

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

Installs WordPress with Composer. Usage Scenario: My example scenario Given a WP installation w...

由 cocobook-sync 更新于 1 个月前

Given a PHP built-in web server to serve :subdir

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

Start a PHP built-in web server in the given subdirectory. Usage Scenario: My example scenario ...

由 cocobook-sync 更新于 1 个月前

Given a PHP built-in web server

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

Start a PHP built-in web server in the current directory. Usage Scenario: My example scenario G...

由 cocobook-sync 更新于 1 个月前

Given a misconfigured WP_CONTENT_DIR constant directory

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

Modify wp-config.php to set WP_CONTENT_DIR to an empty string. Usage Scenario: My example scenar...

由 cocobook-sync 更新于 1 个月前

Given a dependency on current wp-cli

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

Add wp-cli/wp-cli as a Composer dependency. Usage Scenario: My example scenario Given a WP ins...

由 cocobook-sync 更新于 1 个月前

Given a database

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

Creates an empty database. Usage Has no effect when tests run with SQLite. Scenario: My example s...

由 cocobook-sync 更新于 1 个月前

Given a custom wp-content directory

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

Configure a custom wp-content directory. Usage Defines the WP_CONTENT_DIR, WP_PLUGIN_DIR, and ...

由 cocobook-sync 更新于 1 个月前

Given /^that HTTP requests to (.*?) will respond with:$/

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

Mock HTTP requests to a given URL. Usage Scenario: My example scenario Given that HTTP requests...

由 cocobook-sync 更新于 1 个月前

Given /^save the (.+) file ([\'].+[^\'])?as \{(\w+)\}$/

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

Stores the contents of the given file in a variable. Usage Scenario: My example scenario Given ...

由 cocobook-sync 更新于 1 个月前

Given /^save (STDOUT|STDERR) ([\'].+[^\'])?\s?as \{(\w+)\}$/

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

Store STDOUT or STDERR contents in a variable. Usage Scenario: My example scenario When I run `...

由 cocobook-sync 更新于 1 个月前

Given /^an? (empty|non-existent) ([^\s]+) directory$/

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

Creates or deletes a specific directory. Usage Scenario: My example scenario Given an empty foo...

由 cocobook-sync 更新于 1 个月前

Given /^an? ("[^"]+"|[^\s]+) (file|cache file):$/

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

Creates a file with the given contents. Usage The file can be created either in the current worki...

由 cocobook-sync 更新于 1 个月前

Given /^a WP( \d[^\s]+)? install(?:ation)?$/

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

Installs WordPress. Usage Scenario: My example scenario Given a WP installation ... Scenario:...

由 cocobook-sync 更新于 1 个月前

Given /^a WP( [^\s]+)? install(?:ation)? in ['"]?([^'"]+)['"]?$/

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

Installs WordPress in a given directory. Usage Scenario: My example scenario Given a WP install...

由 cocobook-sync 更新于 1 个月前

Given /^a WP multisite (subdirectory|subdomain)?\s?(install|installation)$/

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

Installs WordPress Multisite. Usage Supports either subdirectory or subdomain installation. Scena...

由 cocobook-sync 更新于 1 个月前

Given /^a new Phar with (?:the same version|version "([^"]+)")$/

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

Build a new WP-CLI Phar file with a given version. Usage Scenario: My example scenario Given an...

由 cocobook-sync 更新于 1 个月前

Given /^a downloaded Phar with (?:the same version|version "([^"]+)")$/

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

Download a specific WP-CLI Phar version from GitHub. Usage Scenario: My example scenario Given ...

由 cocobook-sync 更新于 1 个月前

Given /^"([^"]+)" replaced with "([^"]+)" in the ([^\s]+) file$/

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

Search and replace a string in a file using regex. Usage Scenario: My example scenario Given "F...

由 cocobook-sync 更新于 1 个月前