跳转到主要内容

书籍

WP-CLI 手册(英文原版)

WP-CLI 是 WordPress 的命令行工具。本书(英文)介绍它的安装配置、常用命令、扩展包的编写与发布,以及参与开发的方法,适合需要批量管理 WordPress 站点的开发者和运维人员。

4 章151 页更新于 20 小时前

开始阅读
MIT

目录151

  1. 01 Handbook Here are some helpful guides and resources for using WP-CLI. Can’t find what you’re looking for? Open an is... 7 小时前
  2. 第 1 章 Guides 23 页
    1. 1.1 Guides Installing - Recommended and alternative installation mechanisms. Quick start - Where to begin after you've... 7 小时前
    2. 1.2 Beginner's Guide So you've heard about WP-CLI and want to try it out, but you're not sure where to start? This guide is for ... 7 小时前
    3. 1.3 Check status of a given plugin One of the check types included in wp doctor is Plugin_Status, or the ability to assert that a given plug... 7 小时前
    4. 1.4 Commands Cookbook Creating your own custom WP-CLI command can be easier than it looks — and you can use wp scaffold package ... 7 小时前
    5. 1.5 Common Issues Error: Can't connect to the database A few possibilities: a) you're using MAMP, but WP-CLI is not using the... 21 小时前
    6. 1.6 Common Tasks with WP-CLI Not sure what you can do with WP-CLI? This page showcases practical, everyday WordPress management tasks yo... 7 小时前
    7. 1.7 Customize doctor diagnostic checks Even though wp doctor comes with a number of default diagnostic checks, it's designed with extensibility a... 7 小时前
    8. 1.8 Default doctor diagnostic checks Although its power comes from its ability to be customized, wp doctor includes a number of default diagnos... 7 小时前
    9. 1.9 Doctor Guides Here are some helpful guides for using wp doctor: Default doctor diagnostic checks Customize doctor diagno... 7 小时前
    10. 1.10 External Resources Blog posts & tutorials scribu: A Command-Line Interface for WordPress madewithlove: WP-CLI: WordPress Comma... 21 小时前
    11. 1.11 Force output to a specific locale WP-CLI always outputs English because it doesn't support localization. But, because WordPress supports loca... 21 小时前
    12. 1.12 Installing Requirements WP-CLI requires PHP 7.2.24 or later. To check the version of PHP available on your system, run... 5 小时前
    13. 1.13 Installing WP-CLI Packages WP-CLI packages are community-maintained projects built on WP-CLI. They can contain WP-CLI commands, but th... 7 小时前
    14. 1.14 Quick Start Congratulations! You've installed WP-CLI for the first time, and are ready to level-up your use of WordPres... 7 小时前
    15. 1.15 Running Commands Remotely Using an SSH connection WP-CLI accepts an --ssh=[<scheme>:][<user>@]<host>[:<port>][<path>] global paramet... 21 小时前
    16. 1.16 Sharing WP-CLI Packages By default, WP-CLI places installed packages in ~/.wp-cli/packages/, a hidden subdirectory of the user’s h... 21 小时前
    17. 1.17 Troubleshooting Guide Before you start to report a new issue on the GitHub repository, make sure to check your local installation... 7 小时前
    18. 1.18 Verifying WP-CLI Downloads This guide explains how to cryptographically verify the authenticity and integrity of WP-CLI releases after... 21 小时前
    19. 1.19 Write a check for asserting the value of a given constant One of the check types included in wp doctor is Constant_Definition, or the ability to assert that a give... 7 小时前
    20. 1.20 Write a check for asserting the value of a given option One of the check types included in wp doctor is Option_Value, or the ability to assert that a given optio... 7 小时前
    21. 1.21 Write a check for verifying contents of WordPress files One of the check types included in wp doctor is File_Contents, or the ability to check all or a selection... 7 小时前
    22. 1.22 Write a custom check to perform an arbitrary assertion Because wp doctor checks are built on top of a foundational abstraction, it's relatively straightforward f... 21 小时前
    23. 1.23 Writing Behat Tests for WP-CLI WP-CLI uses Behat for functional testing. This guide will help you understand how to write and run Behat te... 7 小时前
  3. 第 2 章 How to WP-CLI 8 页
    1. 2.1 How to WP-CLI Introduction Using WP-CLI, you can perform specific tasks using the command line instead of accessing the W... 7 小时前
    2. 2.2 Figure out why WordPress is slow wp profile is a WP-CLI command to help you quickly identify what's slow with WordPress. It's designed to wo... 21 小时前
    3. 2.3 How to create a custom plugin If you want to create your plugins, WP-CLI has a powerful scaffold command that allows us to generate start... 21 小时前
    4. 2.4 How to install WordPress Downloading and installing WordPress using WP-CLI is straightforward. It takes four steps. First, you will ... 21 小时前
    5. 2.5 How to put the site in maintenance mode WP-CLI offers a command to enable, disable maintenance mode and check if maintenance mode is enabled or not... 21 小时前
    6. 2.6 How to start the webserver You can use the command wp server to launch PHP's built-in web server for a specific WordPress installatio... 21 小时前
    7. 2.7 Identify a Plugin or Theme Conflict Is WP-CLI not working with your WordPress install, but you don't know why? It might be a plugin or theme co... 21 小时前
    8. 2.8 Plugin Integration Tests This guide demonstrates how to run integration tests both in continuous integration and locally. The scaffo... 7 小时前
  4. 第 3 章 References 101 页
    1. 3.1 References Argument Syntax - Explanation of the syntax conventions used in command synopsis. Global parameters - Varia... 7 小时前
    2. 3.2 Argument Syntax WP-CLI commands use a standardized syntax to describe their arguments and options. Understanding this synta... 7 小时前
    3. 3.3 Behat Steps WP-CLI makes use of a Behat-based testing framework and provides a set of custom step definitions to write ... 21 小时前
    4. 3.4 Config WP-CLI has a series of global parameters (e.g. --path=<path> and --user=<user>) which work with all comma... 7 小时前
    5. 3.5 Documentation Standards To promote similarity and consistency between WP-CLI commands, we've produced these documentation standards... 7 小时前
    6. 3.6 Exit Codes WP-CLI follows widely-adopted Unix conventions for exit codes: 0 signals success (the command’s primary co... 7 小时前
    7. 3.7 Given /^&quot;([^&quot;]+)&quot; replaced with &quot;([^&quot;]+)&quot; in the ([^\s]+) file$/ Search and replace a string in a file using regex. Usage Scenario: My example scenario Given "Foo" replac... 21 小时前
    8. 3.8 Given /^a downloaded Phar with (?:the same version|version &quot;([^&quot;]+)&quot;)$/ Download a specific WP-CLI Phar version from GitHub. Usage Scenario: My example scenario Given an empty d... 21 小时前
    9. 3.9 Given /^a new Phar with (?:the same version|version &quot;([^&quot;]+)&quot;)$/ Build a new WP-CLI Phar file with a given version. Usage Scenario: My example scenario Given an empty dir... 21 小时前
    10. 3.10 Given /^a WP multisite (subdirectory|subdomain)?\s?(install|installation)$/ Installs WordPress Multisite. Usage Supports either subdirectory or subdomain installation. Scenario: My ex... 21 小时前
    11. 3.11 Given /^a WP( [^\s]+)? install(?:ation)? in ['&quot;]?([^'&quot;]+)['&quot;]?$/ Installs WordPress in a given directory. Usage Scenario: My example scenario Given a WP installation in '... 21 小时前
    12. 3.12 Given /^a WP( \d[^\s]+)? install(?:ation)?$/ Installs WordPress. Usage Scenario: My example scenario Given a WP installation ... Scenario: My other ... 21 小时前
    13. 3.13 Given /^an? (&quot;[^&quot;]+&quot;|[^\s]+) (file|cache file):$/ Creates a file with the given contents. Usage The file can be created either in the current working directo... 21 小时前
    14. 3.14 Given /^an? (empty|non-existent) ([^\s]+) directory$/ Creates or deletes a specific directory. Usage Scenario: My example scenario Given an empty foo-plugin di... 21 小时前
    15. 3.15 Given /^save (STDOUT|STDERR) ([\'].+[^\'])?\s?as \{(\w+)\}$/ Store STDOUT or STDERR contents in a variable. Usage Scenario: My example scenario When I run `wp package... 21 小时前
    16. 3.16 Given /^save the (.+) file ([\'].+[^\'])?as \{(\w+)\}$/ Stores the contents of the given file in a variable. Usage Scenario: My example scenario Given a WP insta... 21 小时前
    17. 3.17 Given /^that HTTP requests to (.*?) will respond with:$/ Mock HTTP requests to a given URL. Usage Scenario: My example scenario Given that HTTP requests to https:... 21 小时前
    18. 3.18 Given a custom wp-content directory Configure a custom wp-content directory. Usage Defines the WP_CONTENT_DIR, WP_PLUGIN_DIR, and WPMU_PLUG... 21 小时前
    19. 3.19 Given a database Creates an empty database. Usage Has no effect when tests run with SQLite. Scenario: My example scenario ... 21 小时前
    20. 3.20 Given a dependency on current wp-cli Add wp-cli/wp-cli as a Composer dependency. Usage Scenario: My example scenario Given a WP installation ... 21 小时前
    21. 3.21 Given a misconfigured WP_CONTENT_DIR constant directory Modify wp-config.php to set WP_CONTENT_DIR to an empty string. Usage Scenario: My example scenario Given... 21 小时前
    22. 3.22 Given a PHP built-in web server Start a PHP built-in web server in the current directory. Usage Scenario: My example scenario Given a WP ... 21 小时前
    23. 3.23 Given a PHP built-in web server to serve :subdir Start a PHP built-in web server in the given subdirectory. Usage Scenario: My example scenario Given a WP... 21 小时前
    24. 3.24 Given a WP install(ation) with Composer Installs WordPress with Composer. Usage Scenario: My example scenario Given a WP installation with Compos... 21 小时前
    25. 3.25 Given a WP install(ation) with Composer and a custom vendor directory :vendor_directory Installs WordPress with Composer and a custom vendor directory. Usage Scenario: My example scenario Given... 21 小时前
    26. 3.26 Given an empty cache Clears the WP-CLI cache directory. Usage Scenario: My example scenario Given an empty cache ... Behat s... 21 小时前
    27. 3.27 Given an empty directory Creates an empty directory. Usage Scenario: My example scenario Given an empty directory ... Behat step... 21 小时前
    28. 3.28 Given download: Download multiple files into the given destinations. Usage Scenario: My example scenario Given download: ... 21 小时前
    29. 3.29 Given these installed and active plugins: Installs and activates one or more plugins. Usage Scenario: My example scenario Given a WP installation ... 21 小时前
    30. 3.30 Given WP files Download WordPress files without installing. Usage Scenario: My example scenario Given an empty directory... 21 小时前
    31. 3.31 Given wp-config.php Create a wp-config.php file using wp config create. Usage Scenario: My example scenario Given an empty d... 21 小时前
    32. 3.32 Hosting Companies The following is a list of hosting companies that have WP-CLI installed by default for their customers, i.e... 21 小时前
    33. 3.33 Internal API WP-CLI includes a number of utilities which are considered stable and meant to be used by commands. This al... 21 小时前
    34. 3.34 Shell Friends As you advance upon your use of WP-CLI, you'll find that a little bit of command line knowledge can have a ... 7 小时前
    35. 3.35 Then /^(STDOUT|STDERR) should be a number$/ Expect STDOUT or STDERR to be a numeric value. Usage Scenario: My example scenario Given a WP installatio... 21 小时前
    36. 3.36 Then /^(STDOUT|STDERR) should be a version string (&lt;|&lt;=|&gt;|&gt;=|==|=|!=|&lt;&gt;) ([+\w.{}-]+)$/ Expect STDOUT or STDERR to be a version string comparing to the given version. Usage Scenario: My example s... 21 小时前
    37. 3.37 Then /^(STDOUT|STDERR) should be empty$/ Expect STDOUT or STDERR to be empty. Usage Scenario: My other scenario Given a WP install When I run `w... 21 小时前
    38. 3.38 Then /^(STDOUT|STDERR) should not be a number$/ Expect STDOUT or STDERR to not be a numeric value. Usage Scenario: My example scenario Given a WP install... 21 小时前
    39. 3.39 Then /^(STDOUT|STDERR) should not be empty$/ Expect STDOUT or STDERR not to be empty. Usage Scenario: My example scenario When I run `wp user create e... 21 小时前
    40. 3.40 Then /^(STDOUT|STDERR) should( not)? match (((\/.+\/)|(#.+#))([a-z]+)?)$/ Match STDOUT or STDERR against a regex. Usage Scenario: My example scenario When I run `wp dist-archive w... 21 小时前
    41. 3.41 Then /^(STDOUT|STDERR) should( strictly)? (be|contain|not contain):$/ Check the contents of STDOUT or STDERR. Usage Scenario: My example scenario Given an empty directory Wh... 21 小时前
    42. 3.42 Then /^an email should (be sent|not be sent)$/ Expect an email to be sent (or not). Usage Scenario: My example scenario When I run `wp user reset-passwo... 21 小时前
    43. 3.43 Then /^STDOUT should be a JSON array containing:$/ Expect valid JSON array output in STDOUT. Usage Errors when some items are missing from the expected array.... 21 小时前
    44. 3.44 Then /^STDOUT should be a table containing rows:$/ Expect STDOUT to be a table containing the given rows. Usage Scenario: My example scenario Given a WP ins... 21 小时前
    45. 3.45 Then /^STDOUT should be CSV containing:$/ Expect STDOUT to be CSV containing certain values. Usage Scenario: My example scenario When I run `wp ter... 21 小时前
    46. 3.46 Then /^STDOUT should be JSON containing:$/ Expect valid JSON output in STDOUT. Usage Scenario: My example scenario When I run `wp post meta get 1 me... 21 小时前
    47. 3.47 Then /^STDOUT should be YAML containing:$/ Expect STDOUT to be YAML containing certain content. Usage Scenario: My example scenario When I run `wp c... 21 小时前
    48. 3.48 Then /^STDOUT should end with a table containing rows:$/ Expect STDOUT to end with a table containing the given rows. Usage Useful when the table is preceded by som... 21 小时前
    49. 3.49 Then /^the (.+) (file|directory) should( strictly)? (exist|not exist|be:|contain:|not contain:)$/ Expect a certain file or directory to (not) exist or (not) contain certain contents. Usage Scenario: My exa... 21 小时前
    50. 3.50 Then /^the contents of the (.+) file should( not)? match (((\/.+\/)|(#.+#))([a-z]+)?)$/ Match file contents against a regex. Usage Scenario: My example scenario When I run `wp scaffold plugin h... 21 小时前
    51. 3.51 Then /^the return code should( not)? be (\d+)$/ Expect a specific exit code of the previous command. Usage Scenario: My example scenario Given a WP insta... 21 小时前
    52. 3.52 Then the HTTP status code should be :code Expect the HTTP status code for visiting http://localhost:8080. Usage Scenario: My example scenario Give... 21 小时前
    53. 3.53 Tools The following is a list of projects that integrate with WP-CLI in some form. For installable WP-CLI package... 21 小时前
    54. 3.54 When /^I (run|try) `([^`]+)` from '([^\s]+)'$/ Run or try a given command in a subdirectory. Usage run expects an exit code 0, whereas try allows for non... 21 小时前
    55. 3.55 When /^I (run|try) `([^`]+)`$/ Run or try a given command. Usage run expects an exit code 0, whereas try allows for non-zero exit codes. ... 21 小时前
    56. 3.56 When /^I (run|try) the previous command again$/ Run or try the previous command again. Usage run expects an exit code 0, whereas try allows for non-zero e... 21 小时前
    57. 3.57 When /^I launch in the background `([^`]+)`$/ Launch a given command in the background. Usage Scenario: My example scenario Given a WP install And I ... 21 小时前
    58. 3.58 WP_CLI::add_command() Register a command to WP-CLI. Usage WP_CLI::add_command( $name, $callable, $args = [] ) $name (string) Name... 21 小时前
    59. 3.59 WP_CLI::add_hook() Schedule a callback to be executed at a certain point. Usage WP_CLI::add_hook( $when, $callback ) $when (st... 21 小时前
    60. 3.60 WP_CLI::add_wp_hook() Add a callback to a WordPress action or filter. Usage WP_CLI::add_wp_hook( $tag, $function_to_add, $priorit... 21 小时前
    61. 3.61 WP_CLI::colorize() Colorize a string for output. Usage WP_CLI::colorize( $string ) $string (string) String to colorize for out... 21 小时前
    62. 3.62 WP_CLI::confirm() Ask for confirmation before running a destructive operation. Usage WP_CLI::confirm( $question, $assoc_args ... 21 小时前
    63. 3.63 WP_CLI::debug() Display debug message prefixed with "Debug: " when --debug is used. Usage WP_CLI::debug( $message, $group ... 21 小时前
    64. 3.64 WP_CLI::do_hook() Execute callbacks registered to a given hook. Usage WP_CLI::do_hook( $when, $args ) $when (string) Identifi... 21 小时前
    65. 3.65 WP_CLI::error() Display error message prefixed with "Error: " and exit script. Usage WP_CLI::error( $message, $exit = true ... 21 小时前
    66. 3.66 WP_CLI::error_multi_line() Display a multi-line error message in a red box. Doesn't exit script. Usage WP_CLI::error_multi_line( $mess... 21 小时前
    67. 3.67 WP_CLI::get_config() Get values of global configuration parameters. Usage WP_CLI::get_config( $key = null ) $key (string) Get va... 7 小时前
    68. 3.68 WP_CLI::get_php_binary() Get the path to the PHP binary used when executing WP-CLI. Usage WP_CLI::get_php_binary() @return (string) ... 21 小时前
    69. 3.69 WP_CLI::halt() Halt script execution with a specific return code. Usage WP_CLI::halt( $return_code ) $return_code (integer... 21 小时前
    70. 3.70 WP_CLI::has_config() Confirm that a global configuration parameter does exist. Usage WP_CLI::has_config( $key ) $key (string) Co... 21 小时前
    71. 3.71 WP_CLI::launch() Launch an arbitrary external process that takes over I/O. Usage WP_CLI::launch( $command, $exit_on_error = ... 21 小时前
    72. 3.72 WP_CLI::launch_self() Run a WP-CLI command in a new process reusing the current runtime arguments. Usage WP_CLI::launch_self( $co... 21 小时前
    73. 3.73 WP_CLI::line() Display informational message without prefix, and ignore --quiet. Usage WP_CLI::line( $message = '', $newl... 21 小时前
    74. 3.74 WP_CLI::log() Display informational message without prefix. Usage WP_CLI::log( $message, $newline = true ) $message (stri... 21 小时前
    75. 3.75 WP_CLI::read_value() Read a value, from various formats. Usage WP_CLI::read_value( $raw_value, $assoc_args = [] ) $raw_value (st... 21 小时前
    76. 3.76 WP_CLI::run_command() Run a given command within the current process using the same global parameters. Usage WP_CLI::run_command(... 21 小时前
    77. 3.77 WP_CLI::runcommand() Run a WP-CLI command. Usage WP_CLI::runcommand( $command, $options = [] ) $command (string) WP-CLI command ... 21 小时前
    78. 3.78 WP_CLI::success() Display success message prefixed with "Success: ". Usage WP_CLI::success( $message ) $message (string) Mess... 21 小时前
    79. 3.79 WP_CLI::warning() Display warning message prefixed with "Warning: ". Usage WP_CLI::warning( $message ) $message (string|WP_Er... 21 小时前
    80. 3.80 WP_CLI\Utils\basename() Locale-independent version of basename() Usage WP_CLI\Utils\basename( $path, $suffix = '' ) $path (string) ... 21 小时前
    81. 3.81 WP_CLI\Utils\esc_like() First half of escaping for LIKE special characters % and _ before preparing for MySQL. Usage WP_CLI\Utils\e... 21 小时前
    82. 3.82 WP_CLI\Utils\format_items() Render a collection of items as an ASCII table, JSON, CSV, YAML, list of ids, or count. Usage WP_CLI\Utils\... 21 小时前
    83. 3.83 WP_CLI\Utils\get_flag_value() Return the flag value or, if it's not set, the $default value. Usage WP_CLI\Utils\get_flag_value( $assoc_ar... 21 小时前
    84. 3.84 WP_CLI\Utils\get_home_dir() Get the home directory. Usage WP_CLI\Utils\get_home_dir() @return (string) Internal API documentation is g... 21 小时前
    85. 3.85 WP_CLI\Utils\get_named_sem_ver() Compare two version strings to get the named semantic version. Usage WP_CLI\Utils\get_named_sem_ver( $new_v... 21 小时前
    86. 3.86 WP_CLI\Utils\get_php_binary() Get the path to the PHP binary used when executing WP-CLI. Usage WP_CLI\Utils\get_php_binary() @return (str... 21 小时前
    87. 3.87 WP_CLI\Utils\get_temp_dir() Get the system's temp directory. Warns user if it isn't writable. Usage WP_CLI\Utils\get_temp_dir() @return... 21 小时前
    88. 3.88 WP_CLI\Utils\http_request() Make a HTTP request to a remote URL. Usage WP_CLI\Utils\http_request( $method, $url, $data = null, $headers... 21 小时前
    89. 3.89 WP_CLI\Utils\is_stream() Check if a path is a PHP stream URL. Usage WP_CLI\Utils\is_stream( $path ) $path (string) The resource path... 21 小时前
    90. 3.90 WP_CLI\Utils\isPiped() Checks whether the output of the current script is a TTY or a pipe / redirect Usage WP_CLI\Utils\isPiped() ... 21 小时前
    91. 3.91 WP_CLI\Utils\launch_editor_for_input() Launch system's $EDITOR for the user to edit some text. Usage WP_CLI\Utils\launch_editor_for_input( $input,... 21 小时前
    92. 3.92 WP_CLI\Utils\make_progress_bar() Create a progress bar to display percent completion of a given operation. Usage WP_CLI\Utils\make_progress_... 21 小时前
    93. 3.93 WP_CLI\Utils\make_temp_dir() Create a unique temporary directory safely without following symlinks. Usage WP_CLI\Utils\make_temp_dir( $p... 21 小时前
    94. 3.94 WP_CLI\Utils\make_temp_file() Create a unique temporary file safely without following symlinks. Usage WP_CLI\Utils\make_temp_file( $prefi... 21 小时前
    95. 3.95 WP_CLI\Utils\normalize_path() Normalize a filesystem path. Usage WP_CLI\Utils\normalize_path( $path ) $path (string) Path to normalize. @... 21 小时前
    96. 3.96 WP_CLI\Utils\parse_ssh_url() Parse a SSH url for its host, port, and path. Usage WP_CLI\Utils\parse_ssh_url( $url, $component = -1 ) $ur... 21 小时前
    97. 3.97 WP_CLI\Utils\parse_str_to_argv() Parse a string of command line arguments into an $argv-esqe variable. Usage WP_CLI\Utils\parse_str_to_argv(... 21 小时前
    98. 3.98 WP_CLI\Utils\proc_open_compat() Windows compatible proc_open(). Works around bug in PHP, and also deals with *nix-like ENV_VAR=blah cmd e... 21 小时前
    99. 3.99 WP_CLI\Utils\report_batch_operation_results() Report the results of the same operation against multiple resources. Usage WP_CLI\Utils\report_batch_operat... 21 小时前
    100. 3.100 WP_CLI\Utils\trailingslashit() Appends a trailing slash. Usage WP_CLI\Utils\trailingslashit( $string ) $string (string) What to add the tr... 21 小时前
    101. 3.101 WP_CLI\Utils\write_csv() Write data as CSV to a given file. Usage WP_CLI\Utils\write_csv( $fd, $rows, $headers = [] ) $fd (resource)... 21 小时前
  5. 第 4 章 Contributions 17 页
    1. 4.1 Contributions Bug reports - Help ensure your issue is resolved in a timely manner. Contributing - An introduction to the ... 7 小时前
    2. 4.2 Bug Reports Think you've found a bug? We'd love for you to help us get it fixed. Before you create a new issue, you sho... 7 小时前
    3. 4.3 Code Review Code review is a core part of the WP-CLI project's software development workflow. Code review and pairing o... 5 小时前
    4. 4.4 Committers Credo Some people have write access to WP-CLI repositories. These people are identified in the following teams: m... 7 小时前
    5. 4.5 Contributing Welcome and thanks! We appreciate you taking the initiative to contribute to WP-CLI. It’s because of you, a... 7 小时前
    6. 4.6 Governance This document describes the governance structure of the WP-CLI project. Who's in charge? WP-CLI has one mai... 7 小时前
    7. 4.7 Implementation Details This page contains some history on various implementation details of WP-CLI. Bootstrapping WordPress On a n... 21 小时前
    8. 4.8 Licensing WP-CLI is licensed under the MIT license. This document outlines WP-CLI's licensing expectations for third-... 21 小时前
    9. 4.9 Philosophy WP-CLI is the command-line interface for WordPress. It provides commands for actions that can be performed ... 7 小时前
    10. 4.10 Pull Requests WP-CLI follows a pull request workflow for changes to its code (and documentation). Whether you want to fix... 7 小时前
    11. 4.11 Release Checklist There are two different release checklists available from within the wp-cli/wp-cli repository: Generate a ... 21 小时前
    12. 4.12 Repository Management Package Names Package names for the official wp-cli GitHub organization need to be discussed upfront with ... 7 小时前
    13. 4.13 Roadmap WP-CLI is released every 3-4 months, typically around the beta period of WordPress's release cycle: Current... 7 小时前
    14. 4.14 Security Vulnerability Reporting for WP-CLI The WP-CLI team appreciates security vulnerability reports and takes them seriously. If you believe you hav... 7 小时前
    15. 4.15 WordCamp Contributor Day Welcome to WordCamp Contributor Day! We appreciate you sharing your time with WP-CLI. We'd love to help you... 21 小时前
    16. 4.16 WP-CLI Contributor Badge The WP-CLI Contributor Badge recognizes individuals who have made meaningful contributions to the WP-CLI pr... 21 小时前
    17. 4.17 WP-CLI Hack Day Welcome to WP-CLI Hack Day! We appreciate you taking time to contribute to the project. We'd love to help y... 21 小时前
  6. 151 Support WP-CLI's maintainers and contributors have limited availability to answer general support questions. The cu... 7 小时前