diff --git a/.actrc b/.actrc deleted file mode 100644 index 99e6b7ec..00000000 --- a/.actrc +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration file for nektos/act. -# See https://github.com/nektos/act#configuration --P ubuntu-latest=shivammathur/node:latest diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 84f918ed..00000000 --- a/.editorconfig +++ /dev/null @@ -1,26 +0,0 @@ -# This file is for unifying the coding style for different editors and IDEs -# editorconfig.org - -# WordPress Coding Standards -# https://make.wordpress.org/core/handbook/coding-standards/ - -# From https://github.com/WordPress/wordpress-develop/blob/trunk/.editorconfig with a couple of additions. - -root = true - -[*] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true -indent_style = tab - -[{*.yml,*.feature,.jshintrc,*.json}] -indent_style = space -indent_size = 2 - -[*.md] -trim_trailing_whitespace = false - -[{*.txt,wp-config-sample.php}] -end_of_line = crlf diff --git a/.github/workflows/check-branch-alias.yml b/.github/workflows/check-branch-alias.yml deleted file mode 100644 index 78da6371..00000000 --- a/.github/workflows/check-branch-alias.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Check Branch Alias - -on: - release: - types: [released] - workflow_dispatch: - -permissions: - contents: write - pull-requests: write - -jobs: - check-branch-alias: - uses: wp-cli/.github/.github/workflows/reusable-check-branch-alias.yml@main diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml deleted file mode 100644 index 07e4fd1f..00000000 --- a/.github/workflows/code-quality.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Code Quality Checks - -on: - pull_request: - push: - branches: - - main - - master - -jobs: - code-quality: - uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@main diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml deleted file mode 100644 index 5158ca68..00000000 --- a/.github/workflows/copilot-setup-steps.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: "Copilot Setup Steps" - -on: - workflow_dispatch: - push: - paths: - - .github/workflows/copilot-setup-steps.yml - pull_request: - paths: - - .github/workflows/copilot-setup-steps.yml - -jobs: - copilot-setup-steps: - runs-on: ubuntu-latest - permissions: - contents: read - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Check existence of composer.json file - id: check_composer_file - uses: andstor/file-existence-action@v3 - with: - files: "composer.json" - - - name: Set up PHP environment - if: steps.check_composer_file.outputs.files_exists == 'true' - uses: shivammathur/setup-php@v2 - with: - php-version: 'latest' - ini-values: zend.assertions=1, error_reporting=-1, display_errors=On - coverage: 'none' - tools: composer,cs2pr - env: - COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Install Composer dependencies & cache dependencies - if: steps.check_composer_file.outputs.files_exists == 'true' - uses: ramsey/composer-install@v3 - env: - COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - with: - # Bust the cache at least once a month - output format: YYYY-MM. - custom-cache-suffix: $(date -u "+%Y-%m") diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml deleted file mode 100644 index 14dffc54..00000000 --- a/.github/workflows/issue-triage.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Issue and PR Triage - -'on': - issues: - types: [opened] - pull_request_target: - types: [opened] - workflow_dispatch: - inputs: - issue_number: - description: 'Issue/PR number to triage (leave empty to process all)' - required: false - type: string - -jobs: - issue-triage: - uses: wp-cli/.github/.github/workflows/reusable-issue-triage.yml@main - with: - issue_number: >- - ${{ - (github.event_name == 'workflow_dispatch' && inputs.issue_number) || - (github.event_name == 'pull_request_target' && github.event.pull_request.number) || - (github.event_name == 'issues' && github.event.issue.number) || - '' - }} diff --git a/.github/workflows/manage-labels.yml b/.github/workflows/manage-labels.yml deleted file mode 100644 index 45711bde..00000000 --- a/.github/workflows/manage-labels.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Manage Labels - -'on': - workflow_dispatch: - push: - branches: - - main - - master - paths: - - 'composer.json' - -permissions: - issues: write - contents: read - -jobs: - manage-labels: - uses: wp-cli/.github/.github/workflows/reusable-manage-labels.yml@main diff --git a/.github/workflows/regenerate-readme.yml b/.github/workflows/regenerate-readme.yml deleted file mode 100644 index c633d9d4..00000000 --- a/.github/workflows/regenerate-readme.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Regenerate README file - -on: - workflow_dispatch: - push: - branches: - - main - - master - paths-ignore: - - "features/**" - - "README.md" - -jobs: - regenerate-readme: - uses: wp-cli/.github/.github/workflows/reusable-regenerate-readme.yml@main diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml deleted file mode 100644 index 1044b798..00000000 --- a/.github/workflows/testing.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Testing - -on: - pull_request: - push: - branches: - - main - - master - schedule: - - cron: '17 1 * * *' # Run every day on a seemly random time. - -jobs: - test: - uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main diff --git a/.github/workflows/welcome-new-contributors.yml b/.github/workflows/welcome-new-contributors.yml deleted file mode 100644 index c38e033b..00000000 --- a/.github/workflows/welcome-new-contributors.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Welcome New Contributors - -on: - pull_request_target: - types: [opened] - branches: - - main - - master - -jobs: - welcome: - uses: wp-cli/.github/.github/workflows/reusable-welcome-new-contributors.yml@main diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 1ff84f6d..00000000 --- a/AGENTS.md +++ /dev/null @@ -1,121 +0,0 @@ -# Instructions - -This package is part of WP-CLI, the official command line interface for WordPress. For a detailed explanation of the project structure and development workflow, please refer to the main @README.md file. - -## Best Practices for Code Contributions - -When contributing to this package, please adhere to the following guidelines: - -* **Follow Existing Conventions:** Before writing any code, analyze the existing codebase in this package to understand the coding style, naming conventions, and architectural patterns. -* **Focus on the Package's Scope:** All changes should be relevant to the functionality of the package. -* **Write Tests:** All new features and bug fixes must be accompanied by acceptance tests using Behat. You can find the existing tests in the `features/` directory. There may be PHPUnit unit tests as well in the `tests/` directory. -* **Update Documentation:** If your changes affect the user-facing functionality, please update the relevant inline code documentation. - -### Building and running - -Before submitting any changes, it is crucial to validate them by running the full suite of static code analysis and tests. To run the full suite of checks, execute the following command: `composer test`. - -This single command ensures that your changes meet all the quality gates of the project. While you can run the individual steps separately, it is highly recommended to use this single command to ensure a comprehensive validation. - -### Useful Composer Commands - -The project uses Composer to manage dependencies and run scripts. The following commands are available: - -* `composer install`: Install dependencies. -* `composer test`: Run the full test suite, including linting, code style checks, static analysis, and unit/behavior tests. -* `composer lint`: Check for syntax errors. -* `composer phpcs`: Check for code style violations. -* `composer phpcbf`: Automatically fix code style violations. -* `composer phpstan`: Run static analysis. -* `composer phpunit`: Run unit tests. -* `composer behat`: Run behavior-driven tests. - -### Coding Style - -The project follows the `WP_CLI_CS` coding standard, which is enforced by PHP_CodeSniffer. The configuration can be found in `phpcs.xml.dist`. Before submitting any code, please run `composer phpcs` to check for violations and `composer phpcbf` to automatically fix them. - -## Documentation - -The `README.md` file might be generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). In that case, changes need to be made against the corresponding part of the codebase. - -### Inline Documentation - -Only write high-value comments if at all. Avoid talking to the user through comments. - -## Testing - -The project has a comprehensive test suite that includes unit tests, behavior-driven tests, and static analysis. - -* **Unit tests** are written with PHPUnit and can be found in the `tests/` directory. The configuration is in `phpunit.xml.dist`. -* **Behavior-driven tests** are written with Behat and can be found in the `features/` directory. The configuration is in `behat.yml`. -* **Static analysis** is performed with PHPStan. - -All tests are run on GitHub Actions for every pull request. - -When writing tests, aim to follow existing patterns. Key conventions include: - -* When adding tests, first examine existing tests to understand and conform to established conventions. -* For unit tests, extend the base `WP_CLI\Tests\TestCase` test class. -* For Behat tests, only WP-CLI commands installed in `composer.json` can be run. - -### Behat Steps - -WP-CLI makes use of a Behat-based testing framework and provides a set of custom step definitions to write feature tests. - -> **Note:** If you are expecting an error output in a test, you need to use `When I try ...` instead of `When I run ...` . - -#### Given - -* `Given an empty directory` - Creates an empty directory. -* `Given /^an? (empty|non-existent) ([^\s]+) directory$/` - Creates or deletes a specific directory. -* `Given an empty cache` - Clears the WP-CLI cache directory. -* `Given /^an? ([^\s]+) (file|cache file):$/` - Creates a file with the given contents. -* `Given /^"([^"]+)" replaced with "([^"]+)" in the ([^\s]+) file$/` - Search and replace a string in a file using regex. -* `Given /^that HTTP requests to (.*?) will respond with:$/` - Mock HTTP requests to a given URL. -* `Given WP files` - Download WordPress files without installing. -* `Given wp-config.php` - Create a wp-config.php file using `wp config create`. -* `Given a database` - Creates an empty database. -* `Given a WP install(ation)` - Installs WordPress. -* `Given a WP install(ation) in :subdir` - Installs WordPress in a given directory. -* `Given a WP install(ation) with Composer` - Installs WordPress with Composer. -* `Given a WP install(ation) with Composer and a custom vendor directory :vendor_directory` - Installs WordPress with Composer and a custom vendor directory. -* `Given /^a WP multisite (subdirectory|subdomain)?\s?(install|installation)$/` - Installs WordPress Multisite. -* `Given these installed and active plugins:` - Installs and activates one or more plugins. -* `Given a custom wp-content directory` - Configure a custom `wp-content` directory. -* `Given download:` - Download multiple files into the given destinations. -* `Given /^save (STDOUT|STDERR) ([\'].+[^\'])?\s?as \{(\w+)\}$/` - Store STDOUT or STDERR contents in a variable. -* `Given /^a new Phar with (?:the same version|version "([^"]+)")$/` - Build a new WP-CLI Phar file with a given version. -* `Given /^a downloaded Phar with (?:the same version|version "([^"]+)")$/` - Download a specific WP-CLI Phar version from GitHub. -* `Given /^save the (.+) file ([\'].+[^\'])? as \{(\w+)\}$/` - Stores the contents of the given file in a variable. -* `Given a misconfigured WP_CONTENT_DIR constant directory` - Modify wp-config.php to set `WP_CONTENT_DIR` to an empty string. -* `Given a dependency on current wp-cli` - Add `wp-cli/wp-cli` as a Composer dependency. -* `Given a PHP built-in web server` - Start a PHP built-in web server in the current directory. -* `Given a PHP built-in web server to serve :subdir` - Start a PHP built-in web server in the given subdirectory. - -#### When - -* ``When /^I launch in the background `([^`]+)`$/`` - Launch a given command in the background. -* ``When /^I (run|try) `([^`]+)`$/`` - Run or try a given command. -* ``When /^I (run|try) `([^`]+)` from '([^\s]+)'$/`` - Run or try a given command in a subdirectory. -* `When /^I (run|try) the previous command again$/` - Run or try the previous command again. - -#### Then - -* `Then /^the return code should( not)? be (\d+)$/` - Expect a specific exit code of the previous command. -* `Then /^(STDOUT|STDERR) should( strictly)? (be|contain|not contain):$/` - Check the contents of STDOUT or STDERR. -* `Then /^(STDOUT|STDERR) should be a number$/` - Expect STDOUT or STDERR to be a numeric value. -* `Then /^(STDOUT|STDERR) should not be a number$/` - Expect STDOUT or STDERR to not be a numeric value. -* `Then /^STDOUT should be a table containing rows:$/` - Expect STDOUT to be a table containing the given rows. -* `Then /^STDOUT should end with a table containing rows:$/` - Expect STDOUT to end with a table containing the given rows. -* `Then /^STDOUT should be JSON containing:$/` - Expect valid JSON output in STDOUT. -* `Then /^STDOUT should be a JSON array containing:$/` - Expect valid JSON array output in STDOUT. -* `Then /^STDOUT should be CSV containing:$/` - Expect STDOUT to be CSV containing certain values. -* `Then /^STDOUT should be YAML containing:$/` - Expect STDOUT to be YAML containing certain content. -* `Then /^(STDOUT|STDERR) should be empty$/` - Expect STDOUT or STDERR to be empty. -* `Then /^(STDOUT|STDERR) should not be empty$/` - Expect STDOUT or STDERR not to be empty. -* `Then /^(STDOUT|STDERR) should be a version string (<|<=|>|>=|==|=|<>) ([+\w.{}-]+)$/` - Expect STDOUT or STDERR to be a version string comparing to the given version. -* `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. -* `Then /^the contents of the (.+) file should( not)? match (((\/.*\/)|(#.#))([a-z]+)?)$/` - Match file contents against a regex. -* `Then /^(STDOUT|STDERR) should( not)? match (((\/.*\/)|(#.#))([a-z]+)?)$/` - Match STDOUT or STDERR against a regex. -* `Then /^an email should (be sent|not be sent)$/` - Expect an email to be sent (or not). -* `Then the HTTP status code should be :code` - Expect the HTTP status code for visiting `http://localhost:8080`. diff --git a/CNAME b/CNAME index 92366363..07dab832 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -wp-cli.org \ No newline at end of file +wp-cli.org diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 32d24cd4..00000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (C) 2012-2018 WP-CLI Development Group (https://github.com/wp-cli/wp-cli.github.com/contributors) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/README.md b/README.md index 51421adb..24bcf45a 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,7 @@ SUBCOMMANDS ### How to translate -1. Add your language to `[_config.yml](https://github.com/wp-cli/wp-cli.github.com/blob/main/_config.yml)`. +1. Add your language to `[_config.yml](https://github.com/wp-cli/wp-cli.github.com/blob/master/_config.yml)`. 2. Create a folder under the name of your appropriate language code (IETF language tag). e.g. ja or pt_BR -3. Copy the *English* `index.md` into your language's directory. +3. Copy `index.md` into your language's directory. 4. Translate `index.md`. - -Note: Please avoid using a language file other than the English one in the root folder as your source for translating, as it might not be up-to-date. The root `index.md` is considered to be the source of truth and is the only one guaranteed to be current. diff --git a/_config.yml b/_config.yml index 99a9a947..a07a999a 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ markdown: kramdown gems: - jekyll-paginate - jekyll-redirect-from -url: https://wp-cli.org +url: http://wp-cli.org permalink: /blog/:title.html paginate: 10 paginate_path: /blog/page:num @@ -34,9 +34,6 @@ languages: - label: Japanese iso-alpha2: ja path: /ja/ -- label: Persian (Farsi) - iso-alpha2: fa - path: /fa/ - label: Français iso-alpha2: fr path: /fr/ @@ -58,12 +55,3 @@ languages: - label: Italiano iso-alpha2: it path: /it/ -- label: Español - iso-alpha2: es - path: /es/ -- label: Română - iso-alpha2: ro - path: /ro/ -- label: 简体中文 - iso-alpha2: zh-cn - path: /zh-cn/ diff --git a/_includes/footer.html b/_includes/footer.html index d643c363..a26e6675 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,7 +5,7 @@ {% include global-parameters.html %} {% endif %} - + {% include analytics.html %} diff --git a/_includes/header.html b/_includes/header.html index cc3a7b51..dda4a5b6 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,5 +1,5 @@ {% assign hreflang = 'en' %}{% for lang in site.languages %}{% if lang.path == page.url %}{% assign hreflang = lang.iso-alpha2 %}{% endif %}{% endfor %} - + @@ -17,11 +17,10 @@ {% for lang in site.languages %} {% endfor %} - + + {% if page.display_global_parameters %} - {% elsif page.direction == 'rtl' %} - {% else %} {% endif %} diff --git a/_includes/languages.html b/_includes/languages.html index 487fc9df..2c44f118 100644 --- a/_includes/languages.html +++ b/_includes/languages.html @@ -10,7 +10,7 @@ 'use strict'; var langs = document.getElementById( 'languages' ); - // Only apply this after we set the Selected option. + // Only apply this after we set the Selected option langs.onchange = function( ev ) { if ( ev.currentTarget && ev.currentTarget.value ) { location.href = ev.currentTarget.value; @@ -25,7 +25,7 @@ count = opts.length; for ( var i = 0; i < count; i++ ){ - // Only happens if you have language path on the start of the location.pathname. + // Only happens if you have language path on the start of the location.pathname if ( 0 === window.location.pathname.indexOf( opts[ i ].value ) ) { opts[ i ].setAttribute( 'selected', 'selected' ); } diff --git a/_posts/2012-11-05-new-home.md b/_posts/2012-11-05-new-home.md index 6db9b4e1..c617d93d 100644 --- a/_posts/2012-11-05-new-home.md +++ b/_posts/2012-11-05-new-home.md @@ -8,4 +8,4 @@ Welcome to the new website for the WP-CLI project! wp-cli already has a public [code repository](https://github.com/wp-cli/wp-cli), an [issue tracker](https://github.com/wp-cli/wp-cli/issues) and a [wiki](https://github.com/wp-cli/wp-cli/wiki). The only thing that was missing was a blog for publishing release notes and other news. -Since GitHub has built-in support for [Jekyll](https://github.com/mojombo/jekyll/wiki), I decided to use that. The code for this website is also public: [github.com/wp-cli/wp-cli.github.com](https://github.com/wp-cli/wp-cli.github.com) +Since github has built-in support for [Jekyll](https://github.com/mojombo/jekyll/wiki), I decided to use that. The code for this website is also public: [github.com/wp-cli/wp-cli.github.com](https://github.com/wp-cli/wp-cli.github.com) diff --git a/_posts/2012-11-10-wp-shell.md b/_posts/2012-11-10-wp-shell.md index 4a380785..cb478d35 100644 --- a/_posts/2012-11-10-wp-shell.md +++ b/_posts/2012-11-10-wp-shell.md @@ -21,4 +21,4 @@ Here's a contrived example session: wp> exit scribu@air:~/wp/core$ -`wp shell` will be available in the 0.7 release of WP-CLI, but if you want to try it out right now, clone the [latest version](https://github.com/wp-cli/wp-cli) from GitHub. If you have suggestions for making it better, don't hesitate to open issues and pull requests. +`wp shell` will be available in the 0.7 release of WP-CLI, but if you want to try it out right now, clone the [latest version](https://github.com/wp-cli/wp-cli) from github. If you have suggestions for making it better, don't hesitate to open issues and pull requests. diff --git a/_posts/2013-06-15-version-0.10.1.md b/_posts/2013-06-15-version-0.10.1.md index ef0f4e46..121168f2 100644 --- a/_posts/2013-06-15-version-0.10.1.md +++ b/_posts/2013-06-15-version-0.10.1.md @@ -17,4 +17,4 @@ Internals: * show warning if a URL redirect is attempted while using WP-CLI -You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=11&state=closed) on GitHub. +You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=11&state=closed) on Github. diff --git a/_posts/2013-06-26-version-0.10.2.md b/_posts/2013-06-26-version-0.10.2.md index 28a59aec..207b3378 100644 --- a/_posts/2013-06-26-version-0.10.2.md +++ b/_posts/2013-06-26-version-0.10.2.md @@ -16,4 +16,4 @@ Internals: * fix required version for php-cli-tools package -You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=12&state=closed) on GitHub. +You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=12&state=closed) on Github. diff --git a/_posts/2013-08-05-version-0.11.md b/_posts/2013-08-05-version-0.11.md index 9356b9e2..3499643a 100644 --- a/_posts/2013-08-05-version-0.11.md +++ b/_posts/2013-08-05-version-0.11.md @@ -51,6 +51,6 @@ Internals: * support passing `--require=` multiple times * deprecated `WP_CLI::add_man_dir()` -You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=10&state=closed) on GitHub. +You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=10&state=closed) on Github. Contributors to this release: [dangardner](https://github.com/dangardner), [danielbachhuber](https://github.com/danielbachhuber), [eugeneware](https://github.com/eugeneware), [jmslbam](https://github.com/jmslbam), [johnbillion](https://github.com/johnbillion), [MiteshShah](https://github.com/MiteshShah), [om4james](https://github.com/om4james), [scribu](https://github.com/scribu), [twratajczak](https://github.com/twratajczak), [Veered](https://github.com/Veered). diff --git a/_posts/2013-08-08-version-0.11.1.md b/_posts/2013-08-08-version-0.11.1.md index fd6d60bb..a85f8253 100644 --- a/_posts/2013-08-08-version-0.11.1.md +++ b/_posts/2013-08-08-version-0.11.1.md @@ -20,6 +20,6 @@ Internals: * fixed synopsis parser bug where arguments with vertical bars would be ignored * added support for `WP_CLI_PHP_ARGS` environment variable -You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=15&state=closed) on GitHub. +You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=15&state=closed) on Github. Contributors to this release: [c10b10](https://github.com/c10b10), [jmslbam](https://github.com/jmslbam), [scribu](https://github.com/scribu). diff --git a/_posts/2013-10-04-version-0.12.md b/_posts/2013-10-04-version-0.12.md index af9d9043..bd5f180b 100644 --- a/_posts/2013-10-04-version-0.12.md +++ b/_posts/2013-10-04-version-0.12.md @@ -33,7 +33,7 @@ This nifty little parameter changes the behaviour of commands when required argu ### Phar archives are back -They were originally introduced in [version 0.9](https://wp-cli.org/blog/version-0.9.html) and... ahem, naively abandoned in the next release with the introduction of the installer script. +They were originally introduced in [version 0.9](http://wp-cli.org/blog/version-0.9.html) and... ahem, naively abandoned in the next release with the introduction of the installer script. The installer uses Composer, which has its own environmental requirements, but, more importantly, it has to fetch all of the packages WP-CLI depends on, which is both less reliable and slower than downloading a single file that contains everything. @@ -60,7 +60,7 @@ So, phar archives can be downloaded from the [wp-cli/builds](https://github.com/ * `wp plugin is-installed` and `wp theme is-installed` * `wp user add-cap`, `wp user remove-cap` and `wp user list-caps` -You can browse the full list of [resolved issues](https://github.com/WP-CLI/WP-CLI/issues?milestone=14&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/WP-CLI/WP-CLI/issues?milestone=14&state=closed) on Github. [1]: https://github.com/wp-cli/wp-cli/issues/792#issuecomment-25376430 [2]: https://github.com/wp-cli/wp-cli/pull/786 diff --git a/_posts/2013-10-11-version-0.12.1.md b/_posts/2013-10-11-version-0.12.1.md index 2c15fc59..e78eff00 100644 --- a/_posts/2013-10-11-version-0.12.1.md +++ b/_posts/2013-10-11-version-0.12.1.md @@ -11,6 +11,6 @@ Hot on the heels of the [0.12 release](/blog/version-0.12.html) comes a minor re * made the `--post__in=` parameter in `wp post list` work * added `--match=` argument for `wp rewrite list` + other improvements -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=18&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=18&page=1&state=closed) on Github. Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber), [mattes](https://github.com/mattes), [scribu](https://github.com/scribu) diff --git a/_posts/2013-10-24-how-wp-cli-loads-wordpress.md b/_posts/2013-10-24-how-wp-cli-loads-wordpress.md index 21ab3374..bd8ee44a 100644 --- a/_posts/2013-10-24-how-wp-cli-loads-wordpress.md +++ b/_posts/2013-10-24-how-wp-cli-loads-wordpress.md @@ -15,7 +15,7 @@ She figures that if she manages to load the WP environment from a CLI script, th Shelly is pleased; her script even works on multisite installs. Both the host name and the path to the WordPress install are hardcoded, but she can figure ways around that later. -With her geeky curiosity satisfied, she lazily types in a Google search, to check if anyone else has solved this problem. The first result is a project called WP-CLI. She installs it and tries out a few commands - it seems to work pretty well. +With her geeky curiosity satisfied, she lazily types in a google search, to check if anyone else has solved this problem. The first result is a project called WP-CLI. She installs it and tries out a few commands - it seems to work pretty well. She then goes to the WP-CLI source and searches for 'wp-load.php', to see how it handles the WordPress bootstrapping - 0 results. Puzzled, she starts going through the first file that gets executed and eventually reaches one called `wp-setting-cli.php`. This strikes Shelly as peculiar, since she encountered a similar file in WordPress Core. She signs into the project's IRC channel. diff --git a/_posts/2013-11-30-version-0.13.md b/_posts/2013-11-30-version-0.13.md index 1a46306f..332f2390 100644 --- a/_posts/2013-11-30-version-0.13.md +++ b/_posts/2013-11-30-version-0.13.md @@ -32,7 +32,7 @@ We have simplified the process of [setting up and running plugin tests](https:// It fetches the test library from the new `develop.svn.wordpress.org` repository. -Also, the Travis build no longer depends on the GitHub mirror of WordPress. +Also, the Travis build no longer depends on the Github mirror of WordPress. ### Improved downloads @@ -72,6 +72,6 @@ Misc: * removed `wp core init-tests` command ([context](https://github.com/wp-cli/wp-cli/pull/885)) * renamed `WP_CLI::add_action()` to `WP_CLI::add_hook()` ([context](https://github.com/wp-cli/wp-cli/pull/845)) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=19&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=19&page=1&state=closed) on Github. Contributors to this release: [BoiteAWeb](https://github.com/BoiteAWeb), [ctayloroomphinc](https://github.com/ctayloroomphinc), [danielbachhuber](https://github.com/danielbachhuber), [dd32](https://github.com/dd32), [francescolaffi](https://github.com/francescolaffi), [jonathanbardo](https://github.com/jonathanbardo), [Kevinlearynet](https://github.com/Kevinlearynet), [leewillis77](https://github.com/leewillis77), [nickdaugherty](https://github.com/nickdaugherty), [QWp6t](https://github.com/QWp6t), [rodrigoprimo](https://github.com/rodrigoprimo), [ryanduff](https://github.com/ryanduff), [scribu](https://github.com/scribu), [simonwheatley](https://github.com/simonwheatley), [tiagohillebrandt](https://github.com/tiagohillebrandt), [tlovett1](https://github.com/tlovett1), [wojsmol](https://github.com/wojsmol). diff --git a/_posts/2014-02-06-version-0.14.md b/_posts/2014-02-06-version-0.14.md index c3d1ae32..1005954b 100644 --- a/_posts/2014-02-06-version-0.14.md +++ b/_posts/2014-02-06-version-0.14.md @@ -16,7 +16,7 @@ To make this not-common-enough scenario work, we had to once again call upon the ### Protection against running as root -If you try to run a WP-CLI command as the superuser, WP-CLI will refuse to run. In production environments, most of the commands should actually be run under the same user as the web server. But, in general, running commands as root is a bad idea. +If you try to run a WP-CLI command as the superuser, WP-CLI will refuse to run. In production environemnts, most of the commands should actually be run under the same user as the web server. But, in general, running commands as root is a bad idea. For example, if you run `wp media regenerate` as `root`, then the newly created thumbnail files will naturally be owned by `root`. If the web server is running under the `www-data` user, it won't be able to change these files (unless they're globally writable, which is less secure). So, the correct command would be `sudo -u www-data wp media regenerate`. @@ -60,7 +60,7 @@ You can also skip only particular plugins: `wp --skip-plugins=admin-blocker,comp * fixed issue with progress bar calling `tput` too often * execution is now aborted if too many positional parameters are passed or if an unknown associative parameter is passed -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=20&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=20&state=closed) on Github. diff --git a/_posts/2014-04-15-version-0.15.md b/_posts/2014-04-15-version-0.15.md index 220146a3..4fa24565 100644 --- a/_posts/2014-04-15-version-0.15.md +++ b/_posts/2014-04-15-version-0.15.md @@ -50,7 +50,7 @@ Note that after updating `wp-cli.phar`, you will also have to update the [wp-com * `wp post create`: fixed handling of `--post_category=` parameter * `wp eval-file`: allow passing arbitrary arguments to the file -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=21&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=21&page=1&state=closed) on Github. Contributors to this release: [clemens-tolboom](https://github.com/clemens-tolboom), [danielbachhuber](https://github.com/danielbachhuber), [francescolaffi](https://github.com/francescolaffi), [itsananderson](https://github.com/itsananderson), [johnpbloch](https://github.com/johnpbloch), [mattheu](https://github.com/mattheu), [nyordanov](https://github.com/nyordanov), [Rarst](https://github.com/Rarst), [robertboloc](https://github.com/robertboloc), [rodrigoprimo](https://github.com/rodrigoprimo), [sboisvert](https://github.com/sboisvert), [scribu](https://github.com/scribu), [szepeviktor](https://github.com/szepeviktor), [trepmal](https://github.com/trepmal). diff --git a/_posts/2014-04-29-survey-results.md b/_posts/2014-04-29-survey-results.md index 9bb793c8..6a897566 100644 --- a/_posts/2014-04-29-survey-results.md +++ b/_posts/2014-04-29-survey-results.md @@ -16,20 +16,20 @@ Many thanks to the 56 people who took our first user survey. We appreciate your Even with its variety of commands, WP-CLI is largely used to install and update. 37.5% of respondents reported using WP-CLI to install WordPress (with 30.36% using it to update WordPress), and 32.14% reported using it to update plugins and themes. -After code management, WP-CLI is popularly used (23.21%) to perform migrations. Respondents reported using [`wp db export`](https://wp-cli.org/commands/db/export/) and [`wp db import`](https://wp-cli.org/commands/db/import/) in conjunction with [`wp search-replace`](https://wp-cli.org/commands/search-replace/), or [`wp export`](https://wp-cli.org/commands/export/) and [`wp import`](https://wp-cli.org/commands/import/). +After code management, WP-CLI is popularly used (23.21%) to perform migrations. Respondents reported using [`wp db export`](http://wp-cli.org/commands/db/export/) and [`wp db import`](http://wp-cli.org/commands/db/import/) in conjunction with [`wp search-replace`](http://wp-cli.org/commands/search-replace/), or [`wp export`](http://wp-cli.org/commands/export/) and [`wp import`](http://wp-cli.org/commands/import/). A subset of respondents reported using WP-CLI to perform specialized tasks, including: -* Creating users with [`wp user create`](https://wp-cli.org/commands/user/create/) and [`wp user import-csv`](https://wp-cli.org/commands/user/import-csv/). -* [Deleting options](https://wp-cli.org/commands/option/delete/). -* [Resizing images](https://wp-cli.org/commands/media/regenerate/). -* [Creating posts / pages](https://wp-cli.org/commands/post/create/). -* Quick code execution via [`wp eval`](https://wp-cli.org/commands/eval/), [`wp eval-file`](https://wp-cli.org/commands/eval-file/), and [`wp shell`](https://wp-cli.org/commands/shell/). +* Creating users with [`wp user create`](http://wp-cli.org/commands/user/create/) and [`wp user import-csv`](http://wp-cli.org/commands/user/import-csv/). +* [Deleting options](http://wp-cli.org/commands/option/delete/). +* [Resizing images](http://wp-cli.org/commands/media/regenerate/). +* [Creating posts / pages](http://wp-cli.org/commands/post/create/). +* Quick code execution via [`wp eval`](http://wp-cli.org/commands/eval/), [`wp eval-file`](http://wp-cli.org/commands/eval-file/), and [`wp shell`](http://wp-cli.org/commands/shell/). * [Writing custom commands](https://github.com/wp-cli/wp-cli/wiki/Commands-Cookbook). **Only 38% have used community packages** -WP-CLI now has 24 community packages listed in its [Package Index](https://wp-cli.org/package-index/). A good 62% percent of respondents will have the good fortune in the future to discover a helpful community package. +WP-CLI now has 24 community packages listed in its [Package Index](http://wp-cli.org/package-index/). A good 62% percent of respondents will have the good fortune in the future to discover a helpful community package. ### Feature requests diff --git a/_posts/2014-05-14-version-0.15.1.md b/_posts/2014-05-14-version-0.15.1.md index d31cdd2f..f1347a49 100644 --- a/_posts/2014-05-14-version-0.15.1.md +++ b/_posts/2014-05-14-version-0.15.1.md @@ -15,6 +15,6 @@ The longer 0.15 soaked, the more bug fixes it saw. It's finally time to get them * use WordPress' `_n()` instead of `ngettext()` * fix segmentation fault in PHP 5.5.11/12 (and probably other 5.5.x versions) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=24&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=24&page=1&state=closed) on Github. Contributors to this release: [boonebgorges](https://github.com/boonebgorges), [danielbachhuber](https://github.com/danielbachhuber), [jmslbam](https://github.com/jmslbam), [mboynes](https://github.com/mboynes), [szepeviktor](https://github.com/szepeviktor), [westonruter](https://github.com/westonruter) diff --git a/_posts/2014-06-30-version-0.16.md b/_posts/2014-06-30-version-0.16.md index 7f714ce7..fdc0598b 100644 --- a/_posts/2014-06-30-version-0.16.md +++ b/_posts/2014-06-30-version-0.16.md @@ -61,7 +61,7 @@ If any core files have been modified, you'll see something like this: ### A new look -[WP-CLI.org](https://wp-cli.org) received a much-appreciated fresh coat of paint. [Share the love on Twitter](https://twitter.com/intent/tweet?text=Love%20the%20fresh%20coat%20of%20paint%2C%20%40wpcli%21%20Check%20it%20out%3A%20http%3A%2F%2Fwp-cli.org) (or report any bugs in the [issue tracker](https://github.com/wp-cli/wp-cli/issues/new)). +[WP-CLI.org](http://wp-cli.org) received a much-appreciated fresh coat of paint. [Share the love on Twitter](https://twitter.com/intent/tweet?text=Love%20the%20fresh%20coat%20of%20paint%2C%20%40wpcli%21%20Check%20it%20out%3A%20http%3A%2F%2Fwp-cli.org) (or report any bugs in the [issue tracker](https://github.com/wp-cli/wp-cli/issues/new)). ### Other changes @@ -83,6 +83,6 @@ Fixes: * Autocompletion file works properly for both bash and ZSH * `wp core update`: can update directly from a ZIP file -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=23&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=23&page=1&state=closed) on Github. Contributors to this release: [boonebgorges](https://github.com/boonebgorges), [danielbachhuber](https://github.com/danielbachhuber), [jmslbam](https://github.com/jmslbam), [johnbillion](https://github.com/johnbillion), [joshlevinson](https://github.com/joshlevinson), [mboynes](https://github.com/mboynes), [rodrigoprimo](https://github.com/rodrigoprimo), [ryanduff](https://github.com/ryanduff), [scribu](https://github.com/scribu), [szepeviktor](https://github.com/szepeviktor), [westonruter](https://github.com/westonruter) diff --git a/_posts/2014-09-11-version-0.17.md b/_posts/2014-09-11-version-0.17.md index 9a515d8e..c94e3214 100644 --- a/_posts/2014-09-11-version-0.17.md +++ b/_posts/2014-09-11-version-0.17.md @@ -105,6 +105,6 @@ Fixes: * GUIDs are escaped as URLs for `wp export`. * Thanks to improvements in php-cli-tools, long strings in tables will be wrapped, instead of breaking output. See in action with `wp theme get twentyfourteen`. -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.17.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.17.0+is%3Aclosed) on Github. Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber), [dlh01](https://github.com/dlh01), [jeichorn](https://github.com/jeichorn), [johnbillion](https://github.com/johnbillion), [lkwdwrd](https://github.com/lkwdwrd), [mattheu](https://github.com/mattheu), [nschoenholtz](https://github.com/nschoenholtz), [phh](https://github.com/phh), [rodrigoprimo](https://github.com/rodrigoprimo), [santagada](https://github.com/santagada), [scribu](https://github.com/scribu), [szepeviktor](https://github.com/szepeviktor), [tddewey](https://github.com/tddewey), [tollmanz](https://github.com/tollmanz), [trepmal](https://github.com/trepmal), [willmot](https://github.com/willmot). diff --git a/_posts/2014-11-18-version-0.17.1.md b/_posts/2014-11-18-version-0.17.1.md index 9da1aa59..a4d0da4a 100644 --- a/_posts/2014-11-18-version-0.17.1.md +++ b/_posts/2014-11-18-version-0.17.1.md @@ -17,6 +17,6 @@ Consider yourself lucky there were less bugs in 0.17 than sugar ants in our kitc * Adds error handling to `Core_Command::_read()`, for when WordPress.org returns bad responses. * php-cli-tools v0.10.2: Fixes supplying empty array to `cli\Table`, and incorrect lengths for colorized strings in `cli\Table` -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=27&page=1&state=closed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=27&page=1&state=closed) on Github. Contributors to this release: [borekb](https://github.com/borekb), [danielbachhuber](https://github.com/danielbachhuber), [szepeviktor](https://github.com/szepeviktor), [wturrell](https://github.com/wturrell) diff --git a/_posts/2015-06-20-version-0.19.2.md b/_posts/2015-06-20-version-0.19.2.md index 62ee0222..d9b3134b 100644 --- a/_posts/2015-06-20-version-0.19.2.md +++ b/_posts/2015-06-20-version-0.19.2.md @@ -4,7 +4,7 @@ author: danielbachhuber title: Version 0.19.2 released --- -Embarrassingly, [WP-CLI v0.19.1](https://wp-cli.org/blog/version-0.19.1.html) introduced another bug related to scaffolding plugin tests. More embarrassingly, it took me a full month to get around to fixing it. My apologies if you were bit by it. +Embarrassingly, [WP-CLI v0.19.1](http://wp-cli.org/blog/version-0.19.1.html) introduced another bug related to scaffolding plugin tests. More embarrassingly, it took me a full month to get around to fixing it. My apologies if you were bit by it. You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=31&page=1&state=closed) on Github. diff --git a/_posts/2015-08-26-version-0.20.0.md b/_posts/2015-08-26-version-0.20.0.md index ca759760..3e6285b4 100644 --- a/_posts/2015-08-26-version-0.20.0.md +++ b/_posts/2015-08-26-version-0.20.0.md @@ -36,7 +36,7 @@ Use `wp core verify-checksums` to make sure a given WordPress install has the co ### WP-API CLI -We [released v0.19.0](https://wp-cli.org/blog/version-0.19.0.html) with this statement: +We [released v0.19.0](http://wp-cli.org/blog/version-0.19.0.html) with this statement: > WP-API is days away from 2.0-beta1, and brings with it a powerful new interface to WordPress. In the near future, we’ll start exploring how WP-CLI can use WP-API internally. If all goes well, WP-CLI could see just one more 0.x.0 release before the big 1.0.0. @@ -48,7 +48,7 @@ There were a couple issues opened for "how do I do X?", which you might find hel # List plugins on each site in a network wp site list --field=url | xargs -n 1 -I % wp plugin list --url=% - + # Delete inactive plugins wp plugin delete $(wp plugin list --status=inactive --field=name) diff --git a/_posts/2015-10-14-version-0.20.2.md b/_posts/2015-10-14-version-0.20.2.md index 0ea6b0be..ead5ff9a 100644 --- a/_posts/2015-10-14-version-0.20.2.md +++ b/_posts/2015-10-14-version-0.20.2.md @@ -8,6 +8,6 @@ Since the beginning, `install-wp-tests.sh` (the setup script for plugin unit tes We've updated `install-wp-tests.sh` provided by WP-CLI to use an appropriately-tagged version of the WordPress testing framework. However, because `install-wp-tests.sh` is added to a plugin during the scaffolding process, plugin authors will need to update the plugin copy of the script to fix failing tests. We weren't able to get to the entire internet, but here are some plugins that have already been updated: [pantheon-systems/wp-native-php-sessions](https://github.com/pantheon-systems/wp-native-php-sessions/pull/20), [washingtonstateuniversity/WSUWP-Plugin-Color-Palette](https://github.com/washingtonstateuniversity/WSUWP-Plugin-Color-Palette/pull/5), [ethymos/delibera](https://github.com/ethymos/delibera/pull/45) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.20.2) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.20.2) on Github. Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber), [torounit](https://github.com/torounit) diff --git a/_posts/2015-10-30-version-0.20.3.md b/_posts/2015-10-30-version-0.20.3.md index c568503c..e7d3c987 100644 --- a/_posts/2015-10-30-version-0.20.3.md +++ b/_posts/2015-10-30-version-0.20.3.md @@ -4,12 +4,12 @@ author: danielbachhuber title: Version 0.20.3 released --- -WordPress 4.4 loads a few new files in `wp-settings.php` relating to oEmbed and the REST API. Because WP-CLI has a custom `wp-settings-cli.php` ([background](https://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.20.3 is a compatibility release to load these new files. +WordPress 4.4 loads a few new files in `wp-settings.php` relating to oEmbed and the REST API. Because WP-CLI has a custom `wp-settings-cli.php` ([background](http://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.20.3 is a compatibility release to load these new files. **Importantly, due to the nature of these changes, WP-CLI versions prior to 0.20.3 will be incompatible with WordPress 4.4.** -Stay tuned next week for WP-CLI v0.21.0 (which is also compatible with WordPress 4.4), the results of the [user survey](https://wp-cli.org/blog/user-survey-2015.html), and a special announcement. +Stay tuned next week for WP-CLI v0.21.0 (which is also compatible with WordPress 4.4), the results of the [user survey](http://wp-cli.org/blog/user-survey-2015.html), and a special announcement. -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.20.2) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.20.2) on Github. Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber), [kraftbj](https://github.com/kraftbj), [rmccue](https://github.com/rmccue) diff --git a/_posts/2015-11-04-version-0.21.0.md b/_posts/2015-11-04-version-0.21.0.md index 342b1195..f8e2e3ab 100644 --- a/_posts/2015-11-04-version-0.21.0.md +++ b/_posts/2015-11-04-version-0.21.0.md @@ -11,7 +11,7 @@ As many of you are aware of, I launched a Kickstarter campaign Monday night: [A But, I have an even more **important note** about supported WordPress versions: * WP-CLI v0.22.0 (the next release) will bump the minimum supported WordPress version from 3.5 to 3.7 ([background](https://github.com/wp-cli/wp-cli/issues/2134)). -* WP-CLI versions prior to 0.20.3 will be incompatible with WordPress 4.4 ([background](https://wp-cli.org/blog/version-0.20.3.html)). +* WP-CLI versions prior to 0.20.3 will be incompatible with WordPress 4.4 ([background](http://wp-cli.org/blog/version-0.20.3.html)). This important note may apply to you in some way -- please take action accordingly. @@ -24,7 +24,7 @@ For a while now, you've been able to run a WP-CLI command before WordPress loads See how `wp eval` makes use of `WP_CLI::get_runner()->load_wordpress()`: class Eval_Command extends WP_CLI_Command { - + /** * Execute arbitrary PHP code. * @@ -84,7 +84,7 @@ Make your own commands more helpful by including `WP_CLI::debug( $debug_message Enhancements: * Use `wp core update-db --network` to upgrade databases across an entire network; also improves verbosity for this command by providing the `from` and `to` database versions. -* Adds a `wp comment recount` command for recalculating a post's comment count. +* Adds a `wp comment recount` command for recalcuating a post's comment count. * Includes `wp taxonomy list`, `wp taxonomy get`, `wp post-type list` and `wp post-type get` for getting details about registered taxonomies and post types. * Use `--defer-term-counting` with `wp post update` or `wp post delete` to recalculate term count at the end of the operation for increased performance. * Returns a more useful error message when running `wp scaffold plugin-tests` with an invalid plugin slug. diff --git a/_posts/2015-11-23-versions-0.21.1-and-0.20.4.md b/_posts/2015-11-23-versions-0.21.1-and-0.20.4.md index 0be51db5..d4f3a492 100644 --- a/_posts/2015-11-23-versions-0.21.1-and-0.20.4.md +++ b/_posts/2015-11-23-versions-0.21.1-and-0.20.4.md @@ -4,7 +4,7 @@ author: danielbachhuber title: Versions 0.21.1 and 0.20.4 released --- -WordPress 4.4 loads a few new files even more files in `wp-settings.php`. Because WP-CLI has a custom `wp-settings-cli.php` ([background](https://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.21.1 and v0.20.4 are compatibility releases to load these new files. +WordPress 4.4 loads a few new files even more files in `wp-settings.php`. Because WP-CLI has a custom `wp-settings-cli.php` ([background](http://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.21.1 and v0.20.4 are compatibility releases to load these new files. **Importantly, due to the nature of these changes, WP-CLI versions prior to 0.20.4 will be incompatible with WordPress 4.4.** diff --git a/_posts/2015-12-01-survey-results-2015.md b/_posts/2015-12-01-survey-results-2015.md index 4d8b639f..78400f1c 100644 --- a/_posts/2015-12-01-survey-results-2015.md +++ b/_posts/2015-12-01-survey-results-2015.md @@ -4,9 +4,9 @@ author: danielbachhuber title: What the survey said, 2015 edition --- -Many thanks to the 206 (!!!) people who took our [second user survey](https://wp-cli.org/blog/user-survey-2015.html). We appreciate your time in helping us to understand how WP-CLI is being adopted by the community. +Many thanks to the 206 (!!!) people who took our [second user survey](http://wp-cli.org/blog/user-survey-2015.html). We appreciate your time in helping us to understand how WP-CLI is being adopted by the community. -Curious as to how the numbers have changed? Take a look at the [summary of the first user survey](https://wp-cli.org/blog/survey-results.html) from April 2014. +Curious as to how the numbers have changed? Take a look at the [summary of the first user survey](http://wp-cli.org/blog/survey-results.html) from April 2014. ### By the numbers @@ -65,6 +65,6 @@ Feel like contributing to WP-CLI over the holidays? Here's a grab bag of enhance * Add option to exclude specific tables in `wp search-replace`. * Provide a way to log in with a one-time link. -If you can't find an [existing GitHub issue](https://github.com/wp-cli/wp-cli/issues), please create one and we can begin discussing implementation. +If you can't find an [existing Github issue](https://github.com/wp-cli/wp-cli/issues), please create one and we can begin discussing implementation. Thanks again to everyone who took the time to complete our user survey! May WP-CLI continue to be a shining light for your WordPress development needs. diff --git a/_posts/2016-01-07-version-0.22.0.md b/_posts/2016-01-07-version-0.22.0.md index 1f913b24..f707d89e 100644 --- a/_posts/2016-01-07-version-0.22.0.md +++ b/_posts/2016-01-07-version-0.22.0.md @@ -100,4 +100,4 @@ Bug fixes across the board: Contributors to this release: [2ndkauboy](https://github.com/2ndkauboy), [coreyworrell](https://github.com/coreyworrell), [danielbachhuber](https://github.com/danielbachhuber), [davidleach](https://github.com/davidleach), [duncanjbrown](https://github.com/duncanjbrown), [ernilambar](https://github.com/ernilambar), [fjarrett](https://github.com/fjarrett), [gilbitron](https://github.com/gilbitron), [greg-1-anderson](https://github.com/greg-1-anderson), [iandunn](https://github.com/iandunn), [jjeaton](https://github.com/jjeaton), [modelm](https://github.com/modelm), [rodrigoprimo](https://github.com/rodrigoprimo), [ryanshoover](https://github.com/ryanshoover), [stevector](https://github.com/stevector), [szepeviktor](https://github.com/szepeviktor), [tristanpenman](https://github.com/tristanpenman), [x1024](https://github.com/x1024) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.22.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.22.0+is%3Aclosed) on Github. diff --git a/_posts/2016-02-04-restful-wp-cli-update-2.md b/_posts/2016-02-04-restful-wp-cli-update-2.md index 0c331103..f052b813 100644 --- a/_posts/2016-02-04-restful-wp-cli-update-2.md +++ b/_posts/2016-02-04-restful-wp-cli-update-2.md @@ -55,7 +55,7 @@ Wait, `wp package install`. What in the? That's right, WP-CLI now has package management. Using `wp cli update --nightly`, you now can: -* `wp package browse` to browse [packages available for installation](https://wp-cli.org/package-index/). +* `wp package browse` to browse [packages available for installation](http://wp-cli.org/package-index/). * `wp package install` to install a given package. * `wp package list` to list packages installed locally. * `wp package uninstall` to uninstall a given package. @@ -124,7 +124,7 @@ I'd much prefer: wp @wpapi tag create -In the example preceding, `@wpapi` is an alias for both the target and authentication. +In the example preceeding, `@wpapi` is an alias for both the target and authentication. In this hypothetical universe, aliases would also be injected into the WP-CLI runtime: @@ -145,4 +145,4 @@ In this hypothetical universe, aliases would also be injected into the WP-CLI ru There's a bit of thinking to do, and code to write, to get from here to there, though. -Feeling inspired? I want to hear from you! Particularly if you've written custom endpoints I can test against. Please [open a GitHub issue](https://github.com/danielbachhuber/wp-rest-cli/issues) with questions, feedback, and violent dissent, or [email me directly](mailto:daniel@handbuilt.co). +Feeling inspired? I want to hear from you! Particularly if you've written custom endpoints I can test against. Please [open a Github issue](https://github.com/danielbachhuber/wp-rest-cli/issues) with questions, feedback, and violent dissent, or [email me directly](mailto:daniel@handbuilt.co). diff --git a/_posts/2016-03-22-version-0.23.0.md b/_posts/2016-03-22-version-0.23.0.md index 7bcf7522..3519507e 100644 --- a/_posts/2016-03-22-version-0.23.0.md +++ b/_posts/2016-03-22-version-0.23.0.md @@ -9,11 +9,11 @@ It's hard to believe the last WP-CLI release was only two months ago because thi If you don't make it all of the way through, here's what you absolutely need to know about WP-CLI v0.23.0: * This release includes WordPress 4.5 compatibility. Older WP-CLI versions are incompatible with WordPress 4.5. If you're planning to use WordPress 4.5 in the future, you'll need to upgrade before you do. -* You can now browse [available packages](https://wp-cli.org/package-index/) with `wp package browse`, and install them with `wp package install`. Try `wp package install runcommand/db-ack`. -* There are many new tools for registering commands. Ain't no more need to extend `WP_CLI_Command`. See the [commands cookbook](https://wp-cli.org/docs/commands-cookbook/) to learn more. -* All of the wiki pages moved to a [documentation portal on the website](https://wp-cli.org/docs/), including new pages documenting [internal APIs](https://wp-cli.org/docs/internal-api/) you can use in your own commands. Pull requests encouraged. +* You can now browse [available packages](http://wp-cli.org/package-index/) with `wp package browse`, and install them with `wp package install`. Try `wp package install runcommand/db-ack`. +* There are many new tools for registering commands. Ain't no more need to extend `WP_CLI_Command`. See the [commands cookbook](http://wp-cli.org/docs/commands-cookbook/) to learn more. +* All of the wiki pages moved to a [documentation portal on the website](http://wp-cli.org/docs/), including new pages documenting [internal APIs](http://wp-cli.org/docs/internal-api/) you can use in your own commands. Pull requests encouraged. -Now that I've given away all of the surprises, let's get on with the release post. +Now that I've given away all of the surpises, let's get on with the release post. Oh darn, I forgot two more things: @@ -24,7 +24,7 @@ And now, the release post. ### WordPress 4.5 compatibility -WordPress 4.5 loads yet another file in `wp-settings.php`. Because WP-CLI has a custom wp-settings-cli.php ([background](https://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.23.0 is the only release compatible with WordPress 4.5. +WordPress 4.5 loads yet another file in `wp-settings.php`. Because WP-CLI has a custom wp-settings-cli.php ([background](http://wp-cli.org/blog/how-wp-cli-loads-wordpress.html)), WP-CLI v0.23.0 is the only release compatible with WordPress 4.5. **Importantly, due to the nature of these changes, WP-CLI versions prior to 0.23.0 will be incompatible with WordPress 4.5.** @@ -46,7 +46,7 @@ If you had to complete this task using the WordPress network admin, it would tak WP-CLI also generally follows the 80/20 rule when deciding whether to introduce a new feature. If the feature could be useful to most people, then maybe; otherwise, probably not. Those 20% shouldn't be left with the short stick though, particularly when it comes to the really helpful commands. -Today, I'm proud to reintroduce the [Package Index](https://wp-cli.org/package-index/), a directory of community-maintained WP-CLI packages. Browse available packages to install with `wp package browse` ([doc](https://wp-cli.org/commands/package/browse/)). Once you've found the solution you're looking for, install it with `wp package install` ([doc](https://wp-cli.org/commands/package/install/)): +Today, I'm proud to reintroduce the [Package Index](http://wp-cli.org/package-index/), a directory of community-maintained WP-CLI packages. Browse available packages to install with `wp package browse` ([doc](http://wp-cli.org/commands/package/browse/)). Once you've found the solution you're looking for, install it with `wp package install` ([doc](http://wp-cli.org/commands/package/install/)): $ wp package install runcommand/find-unused-themes Installing runcommand/find-unused-themes (dev-master) @@ -86,7 +86,7 @@ Relevant pull requests for `wp package` include [#2442](https://github.com/wp-cl Ever wonder why, when writing your own command, you had to extend `WP_CLI_Command`? Well, you didn't need to, actually. -In fact, `WP_CLI::add_command()` ([doc](https://wp-cli.org/docs/internal-api/wp-cli-add-command/)) now supports registering any arbitrary callable as a WP-CLI command. For instance, here's a closure command to reset the passwords of one or more users ([runcommand/reset-passwords](https://github.com/runcommand/reset-passwords)): +In fact, `WP_CLI::add_command()` ([doc](http://wp-cli.org/docs/internal-api/wp-cli-add-command/)) now supports registering any arbitrary callable as a WP-CLI command. For instance, here's a closure command to reset the passwords of one or more users ([runcommand/reset-passwords](https://github.com/runcommand/reset-passwords)): /** * Reset passwords for one or more WordPress users. @@ -146,14 +146,14 @@ Note the `default` argument attribute for `format`. WP-CLI accepts `default` and */ $hook_command = function( $args, $assoc_args ) { -Check out the [commands cookbook](https://wp-cli.org/docs/commands-cookbook/) for a deep dive into command registration. Relevant pull requests for these improvements to `WP_CLI::add_command()` include [#2373](https://github.com/wp-cli/wp-cli/pull/2373), [#2389](https://github.com/wp-cli/wp-cli/pull/2389), [#2398](https://github.com/wp-cli/wp-cli/pull/2398), [#2409](https://github.com/wp-cli/wp-cli/pull/2409), [#2556](https://github.com/wp-cli/wp-cli/pull/2556), [#2559](https://github.com/wp-cli/wp-cli/pull/2559). +Check out the [commands cookbook](http://wp-cli.org/docs/commands-cookbook/) for a deep dive into command registration. Relevant pull requests for these improvements to `WP_CLI::add_command()` include [#2373](https://github.com/wp-cli/wp-cli/pull/2373), [#2389](https://github.com/wp-cli/wp-cli/pull/2389), [#2398](https://github.com/wp-cli/wp-cli/pull/2398), [#2409](https://github.com/wp-cli/wp-cli/pull/2409), [#2556](https://github.com/wp-cli/wp-cli/pull/2556), [#2559](https://github.com/wp-cli/wp-cli/pull/2559). ### More, better, easier to find documentation It's actually hard to imagine how people got around previously. Here's what's changed in documentationland: -* The wiki has been reincarnated as the [documentation portal](https://wp-cli.org/docs/) on the website. I spent time cleaning up the pages as I moved them over; hopefully you find the new [commands cookbook](https://wp-cli.org/docs/commands-cookbook/) quite helpful. -* Internal APIs you can use in your own commands are now [publicly documented](https://wp-cli.org/docs/internal-api/). The internal API pages are generated from the codebase, which should greatly help maintenance efforts. +* The wiki has been reincarnated as the [documentation portal](http://wp-cli.org/docs/) on the website. I spent time cleaning up the pages as I moved them over; hopefully you find the new [commands cookbook](http://wp-cli.org/docs/commands-cookbook/) quite helpful. +* Internal APIs you can use in your own commands are now [publicly documented](http://wp-cli.org/docs/internal-api/). The internal API pages are generated from the codebase, which should greatly help maintenance efforts. * On each command page, there's a "Github issues" link to make it easier to find both open and closed issues for a given command. For instance, here are [all of the outstanding issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+label%3Acommand%3Apackage+sort%3Aupdated-desc) for `wp package` and its subcommands. Keep in mind this isn't necessarily exact, because I didn't go back through and label all issues of all time. This feature will become more useful as time goes forward. Relevant pull requests include [#2454](https://github.com/wp-cli/wp-cli/pull/2454), [#2487](https://github.com/wp-cli/wp-cli/pull/2487), [#2494](https://github.com/wp-cli/wp-cli/pull/2494), [#2499](https://github.com/wp-cli/wp-cli/pull/2499), [#2507](https://github.com/wp-cli/wp-cli/pull/2507), [#2513](https://github.com/wp-cli/wp-cli/pull/2513), [#2515](https://github.com/wp-cli/wp-cli/pull/2515). @@ -220,4 +220,4 @@ Bug fixes across the board: Contributors to this release: [anantshri](https://github.com/anantshri), [danielbachhuber](https://github.com/danielbachhuber), [edueo](https://github.com/edueo), [GaryJones](https://github.com/GaryJones), [gilbitron](https://github.com/gilbitron), [hina](https://github.com/hina), [hinoue-work](https://github.com/hinoue-work), [jacobischwartz](https://github.com/jacobischwartz), [marco-c](https://github.com/marco-c), [markjaquith](https://github.com/markjaquith), [markkimsal](https://github.com/markkimsal), [mbovel](https://github.com/mbovel), [ottok](https://github.com/ottok), [rodrigoprimo](https://github.com/rodrigoprimo), [sourcerer-mike](https://github.com/sourcerer-mike), [staude](https://github.com/staude), [szepeviktor](https://github.com/szepeviktor), [za-creature](https://github.com/za-creature) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.23.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.23.0+is%3Aclosed) on Github. diff --git a/_posts/2016-04-14-restful-wp-cli-update-3.md b/_posts/2016-04-14-restful-wp-cli-update-3.md index 94f919de..162132f5 100644 --- a/_posts/2016-04-14-restful-wp-cli-update-3.md +++ b/_posts/2016-04-14-restful-wp-cli-update-3.md @@ -4,7 +4,7 @@ author: danielbachhuber title: RESTful WP-CLI - What I've been hacking on --- -Let me just say — Thursday, February 4th was [pretty darn demoralizing](https://twitter.com/Krogsgard/status/695634320401285121). I spent a huge amount of time in January towards the WP REST API in preparation for what I wanted to do on the command line, and a lot of momentum / inspiration / general good feelings were destroyed in that meeting. As such, I spent much of February and March working on WP-CLI features unrelated to the WP REST API (e.g. [package management](https://wp-cli.org/commands/package/)). +Let me just say — Thursday, February 4th was [pretty darn demoralizing](https://twitter.com/Krogsgard/status/695634320401285121). I spent a huge amount of time in January towards the WP REST API in preparation for what I wanted to do on the command line, and a lot of momentum / inspiration / general good feelings were destroyed in that meeting. As such, I spent much of February and March working on WP-CLI features unrelated to the WP REST API (e.g. [package management](http://wp-cli.org/commands/package/)). But, I'm back in the saddle. Because I'm 2/3 of the way through one of those fancy WP REST API + React WordPress applications, I'm running into dozens of ways I want to be able to make WordPress more efficiently. And of course, this means doing it on the command line. @@ -74,7 +74,7 @@ Profiling works for any CRUD operation. Debug (rest): REST command executed 31 queries in 0.023309 seconds. Use --debug=rest to see all queries. (1.634s) Success: Updated post. -Hopefully this feature becomes an invaluable part of your REST endpoint development process, as it has mine. Hit me with feedback on [its GitHub issue](https://github.com/danielbachhuber/wp-rest-cli/issues/42). +Hopefully this feature becomes an invaluable part of your REST endpoint development process, as it has mine. Hit me with feedback on [its Github issue](https://github.com/danielbachhuber/wp-rest-cli/issues/42). ### Use `wp rest * edit` to edit a resource in your system editor @@ -130,4 +130,4 @@ I'd love your input on the dozens of ideas I have for a more RESTful WP-CLI: * Introduce `wp rest * diff` to be able to diff the state of two different WordPresses, a la [Dictator](https://github.com/danielbachhuber/dictator) [[#56](https://github.com/danielbachhuber/wp-rest-cli/issues/56)]. * Figure out an elegant aliases implementation, so `--http=http://daniel:daniel@wordpress-develop.dev` becomes `@wpdev` [[#2039](https://github.com/wp-cli/wp-cli/issues/2039)] -And I want to hear your ideas too! As well as any feedback, questions, or violent dissent. [Let's chat on GitHub](https://github.com/danielbachhuber/wp-rest-cli/issues). +And I want to hear your ideas too! As well as any feedback, questions, or violent dissent. [Let's chat on Github](https://github.com/danielbachhuber/wp-rest-cli/issues). diff --git a/_posts/2016-04-28-version-0.23.1.md b/_posts/2016-04-28-version-0.23.1.md index 3e128300..9ed1225e 100644 --- a/_posts/2016-04-28-version-0.23.1.md +++ b/_posts/2016-04-28-version-0.23.1.md @@ -10,4 +10,4 @@ If you're using the Phar distribution of WP-CLI, you *should* `wp cli update`, b Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.23.1+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.23.1+is%3Aclosed) on Github. diff --git a/_posts/2016-06-23-future-wp-cli.md b/_posts/2016-06-23-future-wp-cli.md index 6f62578b..7fc79034 100644 --- a/_posts/2016-06-23-future-wp-cli.md +++ b/_posts/2016-06-23-future-wp-cli.md @@ -6,7 +6,7 @@ title: The future of WP-CLI As you might be aware, WP-CLI is an indispensable tool for many individuals and companies. We very much appreciate our community of users (although we have no idea how many of you there actually are), and want to ensure our relationship is strong for the years to come. -Just over a month ago, I [started a GitHub issue](https://github.com/wp-cli/wp-cli/issues/2743) with this question: +Just over a month ago, I [started a Github issue](https://github.com/wp-cli/wp-cli/issues/2743) with this question: > how do I reduce WP-CLI's bus factor, and more generally lay a foundation for WP-CLI's long-term organizational stability? @@ -16,7 +16,7 @@ Based on our conversation, we think the most important task is to reduce WP-CLI' * Documentation - Help ensure WP-CLI's documentation is world-class. * Marketing / community management - Help spread the word about WP-CLI. -* Support - Help WP-CLI users where they're asking questions, let it be GitHub, WordPress.org, Stack Exchange, or elsewhere. +* Support - Help WP-CLI users where they're asking questions, let it be Github, WordPress.org, Stack Exchange, or elsewhere. Contributions in these areas will always be welcome. Maintainership is a longer-term commitment to the project, focused on ongoing improvements to the specific area. WP-CLI expects its maintainers to commit a few hours per week to the project. diff --git a/_posts/2016-07-27-version-0.24.0.md b/_posts/2016-07-27-version-0.24.0.md index 99ea9a4e..e934a746 100644 --- a/_posts/2016-07-27-version-0.24.0.md +++ b/_posts/2016-07-27-version-0.24.0.md @@ -13,7 +13,7 @@ As I [mentioned in my WordCamp Europe talk](https://runcommand.io/2016/06/26/my- In this model, WP-CLI becomes the common interface, and supporting application layer, to a rich ecosystem of features. Doing so opens more frontiers for innovation, which leads to a greater selection of ideas to choose from. And because more people are involved in authoring packages, WP-CLI benefits from a larger contributor pool. -With this model, my focus shifts towards designing a world-class experience for WP-CLI package authorship. Read through the [commands cookbook](https://wp-cli.org/docs/commands-cookbook/) for a thorough introduction to creating a WP-CLI command. Check out `wp scaffold package` [[repo](https://github.com/wp-cli/scaffold-package-command)] for the easiest way to generate the boilerplate for your new WP-CLI package. Weigh in with your thoughts on [how we should evolve the WP-CLI package index](https://github.com/wp-cli/wp-cli/issues/3197). And [follow @runcommand](https://twitter.com/runcommand) as I explore commercializing WP-CLI products and services — I hope that [runcommand](https://runcommand.io) is just the first of several WP-CLI-based businesses. +With this model, my focus shifts towards designing a world-class experience for WP-CLI package authorship. Read through the [commands cookbook](http://wp-cli.org/docs/commands-cookbook/) for a thorough introduction to creating a WP-CLI command. Check out `wp scaffold package` [[repo](https://github.com/wp-cli/scaffold-package-command)] for the easiest way to generate the boilerplate for your new WP-CLI package. Weigh in with your thoughts on [how we should evolve the WP-CLI package index](https://github.com/wp-cli/wp-cli/issues/3197). And [follow @runcommand](https://twitter.com/runcommand) as I explore commercializing WP-CLI products and services — I hope that [runcommand](https://runcommand.io) is just the first of several WP-CLI-based businesses. One last ask: if you care about the WP-CLI release cycle, or dependencies and backwards compatibility, please [let me know how often you think WP-CLI should be released](https://github.com/wp-cli/wp-cli/issues/3198). @@ -23,7 +23,7 @@ Let's get on with the show. Use `wp cli update` to install v0.24.0, representing Every application has a bootstrap file which loads all of the requisite utilities needed to serve a request. In WordPress, this is called `wp-settings.php`. -Since v0.8.0 [[#261](https://github.com/wp-cli/wp-cli/pull/261)], WP-CLI has used a forked version of this bootstrap file, called `wp-settings-cli.php`, to give it more control over the load process, providing features like `--skip-plugins`. But, because WordPress can require new files from `wp-settings.php`, maintaining a forked version has the unfortunate side effect of WP-CLI [regularly breaking when a new version of WordPress is released](https://wp-cli.org/blog/versions-0.21.1-and-0.20.4.html). +Since v0.8.0 [[#261](https://github.com/wp-cli/wp-cli/pull/261)], WP-CLI has used a forked version of this bootstrap file, called `wp-settings-cli.php`, to give it more control over the load process, providing features like `--skip-plugins`. But, because WordPress can require new files from `wp-settings.php`, maintaining a forked version has the unfortunate side effect of WP-CLI [regularly breaking when a new version of WordPress is released](http://wp-cli.org/blog/versions-0.21.1-and-0.20.4.html). Thanks to coordinated changes in the WordPress project, WP-CLI v0.24.0 returns to loading `wp-settings.php` for WordPress 4.6 and higher [[#2278](https://github.com/wp-cli/wp-cli/issues/2278)]. Doing so should make WP-CLI more future proof against new versions of WordPress. @@ -32,8 +32,8 @@ Thanks to coordinated changes in the WordPress project, WP-CLI v0.24.0 returns t Thanks to tireless efforts by a solid group of contributors, WP-CLI now has more documentation in more languages. * Dozens of commands have improved examples for reference. -* We have a new [CONTRIBUTING.md](https://github.com/wp-cli/wp-cli/blob/master/CONTRIBUTING.md), which also has a [page on the website](https://wp-cli.org/docs/contributing/). -* Our new [README.md](https://github.com/wp-cli/wp-cli/blob/master/README.md) powers the [WP-CLI homepage](https://wp-cli.org/), and is available in [Japanese](https://wp-cli.org/ja/), [Français](https://wp-cli.org/fr/), [Português (Brasil)](https://wp-cli.org/br/), [Türkçe](https://wp-cli.org/tr/), [Deutsch](https://wp-cli.org/de/), [नेपाली](https://wp-cli.org/ne/), and [ελληνικά](https://wp-cli.org/gr/). +* We have a new [CONTRIBUTING.md](https://github.com/wp-cli/wp-cli/blob/master/CONTRIBUTING.md), which also has a [page on the website](http://wp-cli.org/docs/contributing/). +* Our new [README.md](https://github.com/wp-cli/wp-cli/blob/master/README.md) powers the [WP-CLI homepage](http://wp-cli.org/), and is available in [Japanese](http://wp-cli.org/ja/), [Français](http://wp-cli.org/fr/), [Português (Brasil)](http://wp-cli.org/br/), [Türkçe](http://wp-cli.org/tr/), [Deutsch](http://wp-cli.org/de/), [नेपाली](http://wp-cli.org/ne/), and [ελληνικά](http://wp-cli.org/gr/). Want to get involved with WP-CLI's documentation? Check out the [Github issues labeled "scope:documentation"](https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+sort%3Aupdated-desc+label%3Ascope%3Adocumentation). @@ -143,7 +143,7 @@ Bug fixes across the board: * Fixes listing user meta associated with a given username [[#2700](https://github.com/wp-cli/wp-cli/pull/2700)]. * Differentiates output when moving comments to trash from output when deleting comments [[#2701](https://github.com/wp-cli/wp-cli/pull/2701)]. * Prevents runaway memory usage from `wp export` by clearing object cache after each file [[#2716](https://github.com/wp-cli/wp-cli/pull/2716)]. -* Ignores ambiguous empty plugin and theme slugs when installing [[#2715](https://github.com/wp-cli/wp-cli/pull/2715)]. +* Ignores ambigious empty plugin and theme slugs when installing [[#2715](https://github.com/wp-cli/wp-cli/pull/2715)]. * Takes all digits when running commands that use the comment id [[#2714](https://github.com/wp-cli/wp-cli/pull/2714), [#2901](https://github.com/wp-cli/wp-cli/pull/2901)]. * Only displays packages directory path when it exists [[#2773](https://github.com/wp-cli/wp-cli/pull/2773)]. * Bails early in theme commands if theme is broken or has error [[#2798](https://github.com/wp-cli/wp-cli/pull/2798)]. @@ -158,6 +158,6 @@ Bug fixes across the board: Contributors to this release: [andyexeter](https://github.com/andyexeter), [bordoni](https://github.com/bordoni), [danielbachhuber](https://github.com/danielbachhuber), [diggy](https://github.com/diggy), [enrico-sorcinelli](https://github.com/enrico-sorcinelli), [ernilambar](https://github.com/ernilambar), [geo4orce](https://github.com/geo4orce), [gedex](https://github.com/gedex), [gilbitron](https://github.com/gilbitron), [hideokamoto](https://github.com/hideokamoto), [apertureless](https://github.com/apertureless), [JRGould](https://github.com/JRGould), [johnbillion](https://github.com/johnbillion), [kkoppenhaver](https://github.com/kkoppenhaver), [kouratoras](https://github.com/kouratoras), [markjaquith](https://github.com/markjaquith), [miya0001](https://github.com/miya0001), [mustafauysal](https://github.com/mustafauysal), [NateWr](https://github.com/NateWr), [Nikschavan](https://github.com/Nikschavan), [ocean90](https://github.com/ocean90), [petenelson](https://github.com/petenelson), [phh](https://github.com/phh), [rachelbaker](https://github.com/rachelbaker), [PatelUtkarsh](https://github.com/PatelUtkarsh), [PeterDaveHello](https://github.com/PeterDaveHello), [robhenley](https://github.com/robhenley) [rodrigoprimo](https://github.com/rodrigoprimo), [roelveldhuizen](https://github.com/roelveldhuizen), [ShinichiNishikawa](https://github.com/ShinichiNishikawa), [shulard](https://github.com/shulard), [stephenharris](https://github.com/stephenharris), [stevenkword](https://github.com/stevenkword), [swissspidy](https://github.com/swissspidy), [taianunes](https://github.com/taianunes), [villevuor](https://github.com/villevuor), [voldemortensen](https://github.com/voldemortensen), [wesm87](https://github.com/wesm87), [8bitodyssey](https://github.com/8bitodyssey) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.24.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.24.0+is%3Aclosed) on Github. Back to work! diff --git a/_posts/2016-08-09-support-policy.md b/_posts/2016-08-09-support-policy.md index 6142fd6a..e59f4cde 100644 --- a/_posts/2016-08-09-support-policy.md +++ b/_posts/2016-08-09-support-policy.md @@ -10,7 +10,7 @@ Have a question about something related to WP-CLI? You might find an answer in o - [Common issues and their fixes](https://wp-cli.org/docs/common-issues/) - [Documentation portal](https://wp-cli.org/docs/) -- [Open or closed issues on GitHub](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [Open or closed issues on Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) - [runcommand Excerpts](https://runcommand.io/excerpts/) - [WordPress StackExchange forums](http://wordpress.stackexchange.com/questions/tagged/wp-cli) diff --git a/_posts/2016-08-09-version-0.24.1.md b/_posts/2016-08-09-version-0.24.1.md index 917b549c..3f0d5c91 100644 --- a/_posts/2016-08-09-version-0.24.1.md +++ b/_posts/2016-08-09-version-0.24.1.md @@ -8,6 +8,6 @@ Curious as to why you're getting a warning message when updating an option? Or w These two bugs, regressions from v0.24.0, are fixed in v0.24.1. -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.24.1) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aclosed+milestone%3A0.24.1) on Github. Contributors to this release: [danielbachhuber](https://github.com/danielbachhuber) diff --git a/_posts/2016-10-25-version-0.25.0.md b/_posts/2016-10-25-version-0.25.0.md index 7982485c..3b22c1be 100644 --- a/_posts/2016-10-25-version-0.25.0.md +++ b/_posts/2016-10-25-version-0.25.0.md @@ -152,4 +152,4 @@ Bug fixes across the board: Contributors to this release (pull requests, documentation, and package authors): [2ndkauboy](https://github.com/2ndkauboy), [aaemnnosttv](https://github.com/aaemnnosttv), [alessandrotesoro](https://github.com/alessandrotesoro), [anhskohbo](https://github.com/anhskohbo), [balbuf](https://github.com/balbuf), [BeAPI](https://github.com/BeAPI), [binarygary](https://github.com/binarygary), [bradp](https://github.com/bradp), [brightoak](https://github.com/brightoak), [danielbachhuber](https://github.com/danielbachhuber), [danilomaccioni](https://github.com/danilomaccioni), [diggy](https://github.com/diggy), [getshifter](https://github.com/getshifter), [eriktorsner](https://github.com/eriktorsner), [ernilambar](https://github.com/ernilambar), [fisele](https://github.com/fisele), [grappler](https://github.com/grappler), [guillaumemolter](https://github.com/guillaumemolter), [iandunn](https://github.com/iandunn), [johnbillion](https://github.com/johnbillion), [jorgeatorres](https://github.com/jorgeatorres), [kouratoras](https://github.com/kouratoras), [markri](https://github.com/markri), [mattgrshaw](https://github.com/mattgrshaw), [miya0001](https://github.com/miya0001), [mustafauysal](https://github.com/mustafauysal), [nyordanov](https://github.com/nyordanov), [ocean90](https://github.com/ocean90), [petenelson](https://github.com/petenelson), [polevaultweb](https://github.com/polevaultweb), [pressbooks](https://github.com/pressbooks), [rahulsprajapati](https://github.com/rahulsprajapati), [runcommand](https://github.com/runcommand), [rxnlabs](https://github.com/rxnlabs), [shulard](https://github.com/shulard), [swissspidy](https://github.com/swissspidy), [szepeviktor](https://github.com/szepeviktor), [taianunes](https://github.com/taianunes), [tnorthcutt](https://github.com/tnorthcutt), [trendwerk](https://github.com/trendwerk), [trepmal](https://github.com/trepmal), [veganista](https://github.com/veganista), [welaika](https://github.com/welaika) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.25.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.25.0+is%3Aclosed) on Github. diff --git a/_posts/2016-11-29-version-1.0.0.md b/_posts/2016-11-29-version-1.0.0.md index 0dd8ba7d..a12cb19d 100644 --- a/_posts/2016-11-29-version-1.0.0.md +++ b/_posts/2016-11-29-version-1.0.0.md @@ -97,4 +97,4 @@ Framework enhancements: Contributors to this release (pull requests, documentation, and package authors): [abea](https://github.com/abea), [anttiviljami](https://github.com/anttiviljami), [cobyan](https://github.com/cobyan), [danielbachhuber](https://github.com/danielbachhuber), [diggy](https://github.com/diggy), [ernilambar](https://github.com/ernilambar), [franz-josef-kaiser](https://github.com/franz-josef-kaiser), [greatislander](https://github.com/greatislander), [itspriddle](https://github.com/itspriddle), [miya0001](https://github.com/miya0001), [mmcev106](https://github.com/mmcev106), [mopquill](https://github.com/mopquill), [ocean90](https://github.com/ocean90), [pj-dave](https://github.com/pj-dave), [pkarjala](https://github.com/pkarjala), [richardbuff](https://github.com/richardbuff), [sommarnatt](https://github.com/sommarnatt), [szepeviktor](https://github.com/szepeviktor), [torounit](https://github.com/torounit) -You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A1.0.0+is%3Aclosed) on GitHub. +You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A1.0.0+is%3Aclosed) on Github. diff --git a/_posts/2016-12-12-the-big-question.md b/_posts/2016-12-12-the-big-question.md index 461b6eda..9dfd6fd8 100644 --- a/_posts/2016-12-12-the-big-question.md +++ b/_posts/2016-12-12-the-big-question.md @@ -29,7 +29,7 @@ So, dear reader, a question: how much is WP-CLI worth to you? Or, phrased another way, how much time does WP-CLI save you? -If the experiment goes well, then we're in business! Your purchase will support ongoing maintenance of WP-CLI, as well as development of new commands like [wp doctor](https://runcommand.io/wp/doctor/) and [wp profile](https://runcommand.io/wp/profile/), [improvements to the website and package index](https://wp-cli.org/docs/wish-list/), and so on. +If the experiment goes well, then we're in business! Your purchase will support ongoing maintenance of WP-CLI, as well as development of new commands like [wp doctor](https://runcommand.io/wp/doctor/) and [wp profile](https://runcommand.io/wp/profile/), [improvements to the website and package index](http://wp-cli.org/docs/wish-list/), and so on. If the experiment doesn't go well, then at least I can say I tried :) To avoid any risk with the investment above, a full refund will be made available to you should the campaign not reach its goal, before we look at other approaches to help with maintaining the project. diff --git a/_posts/2016-12-28-supporting-the-future-of-wp-cli.md b/_posts/2016-12-28-supporting-the-future-of-wp-cli.md index 41613db4..899f0113 100644 --- a/_posts/2016-12-28-supporting-the-future-of-wp-cli.md +++ b/_posts/2016-12-28-supporting-the-future-of-wp-cli.md @@ -10,9 +10,9 @@ wp-cli is a command-line interface that is deployed and relied upon by almost ev To that end there are two big announcements: -1. The website of wp-cli.org, the code / GitHub, Twitter, and such are all coming in under the WordPress.org umbrella and there will be a CLI Make site with a P2 and all of the resources that used to be under wp-cli.org. There is already #cli on Slack and that will continue. (Will live at [https://make.wordpress.org/cli](https://make.wordpress.org/cli).) +1. The website of wp-cli.org, the code / Github, Twitter, and such are all coming in under the WordPress.org umbrella and there will be a CLI Make site with a P2 and all of the resources that used to be under wp-cli.org. There is already #cli on Slack and that will continue. (Will live at [https://make.wordpress.org/cli](https://make.wordpress.org/cli).) -2. I’m going to be bringing together a number of companies in the WordPress ecosystem to solidify their financial support of runcommand so that Daniel and others can devote more time to making wp-cli better and better through 2017. This is a continuation of [the fundraising started a few weeks ago](https://wp-cli.org/blog/the-big-question.html). +2. I’m going to be bringing together a number of companies in the WordPress ecosystem to solidify their financial support of runcommand so that Daniel and others can devote more time to making wp-cli better and better through 2017. This is a continuation of [the fundraising started a few weeks ago](http://wp-cli.org/blog/the-big-question.html). This will all happen the first part of January, and I’m looking to a full and exciting year for wp-cli. Also big thanks to everyone who has chipped in, whether time or money, to support the project in the past. It has been one of the highest impact developments for WP in many years. diff --git a/assets/css/stylesheet.css b/assets/css/stylesheet.css index eac55b43..3cf7bacd 100644 --- a/assets/css/stylesheet.css +++ b/assets/css/stylesheet.css @@ -288,19 +288,6 @@ header h1 { margin-bottom: 20px; } -@media (max-width: 970px) { - header h1 { - margin-left: 0; - } -} - -@media (max-width: 690px) { - /* Avoid collision with the language selector */ - header h1 { - padding-top: 40px; - } -} - header h1 img { vertical-align: middle; } @@ -451,13 +438,6 @@ body.display-global-parameters #main_content { -webkit-font-smoothing: antialiased; } -@media (max-width: 970px) { - #main_content { - padding: 0; /* parent .container will provide needed spacement */ - margin: 0; - } -} - #main_content h1 { font-size: 30px; } @@ -595,6 +575,9 @@ body.configuration .global-parameters{ } + + + /* Blog */ .hentry + .hentry { @@ -661,7 +644,7 @@ hr:after, padding-bottom: 1em; } -/* Announcement within posts */ +/* Accouncement within posts */ .announcement { padding: 0.3em 1em 0.5em 1em; margin-bottom: 1em; @@ -727,8 +710,14 @@ hr:after, } } +@media (max-width: 970px) { + header h1 { + margin-left: 0; + } +} + @media (max-width: 690px) { - .main-nav li:not(:nth-child(5)) a { + .main-nav li a { padding-left: 0; } diff --git a/behat-data/white-160-square.bmp b/behat-data/white-160-square.bmp deleted file mode 100644 index 047b941c..00000000 Binary files a/behat-data/white-160-square.bmp and /dev/null differ diff --git a/br/index.md b/br/index.md index cda05582..c830afa0 100644 --- a/br/index.md +++ b/br/index.md @@ -1,114 +1,94 @@ --- layout: default -title: Interface para linha de comando para o WordPress -direction: ltr +title: Interface para linha de comando em WordPress --- -[WP-CLI](https://wp-cli.org/) é a interface em linha de comando para o [WordPress](https://br.wordpress.org/). Você pode atualizar plugins, configurar instalações multisite e muito mais, sem utilizar um navegador web. +[WP-CLI](https://wp-cli.org/) é um conjunto de linhas de comando para gerenciar instalações [WordPress](https://wordpress.org/). Você pode atualizar plugins, configurar instalações multisite e muito mais, sem utilizar um navegador web. -A manutenção contínua é possível graças aos seguintes patrocinadores: +Para manter-se atualizado, siga [@wpcli no Twitter](https://twitter.com/wpcli) ou [inscreva-se em nossa newsletter](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). - - - - - - +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Tempo médio para resolver um issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Percentual de issues ainda abertos") -A versão estável mais recente é a [2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). Para manter-se atualizado, siga [@wpcli no Twitter](https://twitter.com/wpcli) ou [assine nossa newsletter](https://make.wordpress.org/cli/subscribe/). [Leia nosso plano de ação](https://make.wordpress.org/cli/handbook/roadmap/) para uma visão geral do que está sendo planejado para próximas versões. - -[![Testing](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Tempo médio para resolver um issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentual de issues ainda abertos") - -Links rápidos: [Usando](#usando) | [Instalando](#instalando) | [Suporte](#suporte) | [Estendendo](#estendendo) | [Contribuindo](#contribuindo) | [Créditos](#créditos) +Links rápidos: [Usando](#usando) | [Instalando](#instalando) | [Suporte](#suporte) | [Extendendo](#extendendo) | [Contribuindo](#contribuindo) | [Créditos](#creditos) ## Usando -O objetivo da WP-CLI é fornecer uma interface em linha de comando para muitas das ações que você pode executar na administração do WordPress. Por exemplo, `wp plugin install --activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) permite a instalação e ativação de um plugin WordPress: +O objetivo da WP-CLI é fornecer uma interface em linha de comando para qualquer ação que você queira executar na administração do WordPress. Por exemplo `wp plugin install --activate` ([doc](https://wp-cli.org/commands/plugin/install/)) permite a instação e ativação de um plugin WordPress: ```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... +$ wp plugin install rest-api --activate +Installing WordPress REST API (Version 2) (2.0-beta13) +Downloading install package from https://downloads.wordpress.org/plugin/rest-api.2.0-beta13.zip... Unpacking the package... Installing the plugin... Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. +Activating 'rest-api'... +Success: Plugin 'rest-api' activated. ``` -A WP-CLI também inclui muitos comandos para ações que não são possíveis através da administração do WordPress. Por exemplo, `wp transient delete --all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) permite excluir um ou todos os transients: +WP-CLI também inclui muitos comandos para ações que não são possíveis através da administração do WordPress. Por exemplo, `wp transient delete --all` ([doc](https://wp-cli.org/commands/transient/delete-all/)) permite deletar uma ou todas as transients: ```bash $ wp transient delete --all Success: 34 transients deleted from the database. ``` -Para uma introdução mais completa sobre como usar a WP-CLI, leia o [Guia rápido](https://make.wordpress.org/cli/handbook/quick-start/). Veja também os [shell friends](https://make.wordpress.org/cli/handbook/shell-friends/) para saber mais sobre utilitários de linha de comando. +Para uma introdução mais completa sobre como usar a WP-CLI, leia o [Guia rápido](https://wp-cli.org/docs/quick-start/). -Já se sente confortável com o básico? Vá para a [lista completa de comandos](https://developer.wordpress.org/cli/commands/) para informações detalhadas sobre gerenciamento de temas e plugins, importação e exportação de dados, operações de busca e substituição no banco de dados e muito mais. +Já se sente confortável com o básico? Vá para a [lista completa de comandos](https://wp-cli.org/commands/) para obter informações detalhadas na gestão de temas e plugins, importação e exportação de dados, operações de busca e substituição no banco de dados e muito mais. ## Instalando -Baixar o arquivo Phar é o método de instalação que recomendamos para a maioria dos usuários. Caso precise, veja também a documentação sobre [métodos alternativos de instalação](https://make.wordpress.org/cli/handbook/installing/) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). +Realizar o download do arquivo Phar é o método de instalação que recomendamos. Caso precise, nossa documentação para [métodos alternativos de instação](https://wp-cli.org/docs/installing/). -Antes de instalar a WP-CLI, tenha certeza de que seu ambiente cumpre os requisitos mínimos: +Antes instalar a WP-CLI, certifique-se que seu ambiente possua os requesitos mínimos: - Ambiente UNIX-like (OS X, Linux, FreeBSD, Cygwin); suporte limitado para ambientes Windows -- PHP 5.6 ou superior -- WordPress 3.7 ou superior. Versões do WordPress anteriores à mais recente podem ter funcionalidade reduzida +- PHP 5.3.29 ou superior +- WordPress 3.7 ou superior -Após verificar os requisitos, baixe o arquivo [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) usando `wget` ou `curl`: +Após verificar os requesitos, faça o download do arquivo [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) usando `wget` ou `curl`: ```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar +$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar ``` -Em seguida, verifique se o arquivo phar está funcionando: +Em seguida, verifique se está funcionando: ```bash -php wp-cli.phar --info +$ php wp-cli.phar --info ``` -Para usar a WP-CLI na linha de comando usando apenas `wp`, torne o arquivo executável e mova-o para algum diretório presente em sua variável de ambiente PATH. Por exemplo: +Digite `wp` para utilizar WP-CLI a partir da linha de comando, torne o arquivo executável e mova-o para algum diretório presente em sua variável de ambiente PATH. For example: ```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp +$ chmod +x wp-cli.phar +$ sudo mv wp-cli.phar /usr/local/bin/wp ``` -Se a WP-CLI foi instalada corretamente, ao executar `wp --info` você deverá ver algo como: +Se WP-CLI foi instalado com sucesso, ao executar `wp --info` você deverá ver algo como: ```bash $ wp --info -OS: Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php -PHP version: 8.0.5 -php.ini used: /etc/php/8.0/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.23-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.12.0 +WP-CLI global config: /home/wp-cli/.wp-cli/config.yml +WP-CLI project config: +WP-CLI version: 0.23.0 ``` ### Atualizando -WP-CLI pode ser atualizada com `wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/)) ou repetindo os passos da instalação. - -Se o proprietário do arquivo da WP-CLI for root ou outro usuário do sistema, será necessário executar `sudo wp cli update`. +WP-CLI pode ser atualizado com `wp cli update` ([doc](https://wp-cli.org/commands/cli/update/)), ou repetindo os passos da instalação. -Quer viver no limite? Execute `wp cli update --nightly` para usar a última compilação de desenvolvimento da WP-CLI. Essa versão é estável o suficiente para ser usada em seu ambiente de desenvolvimento e sempre inclui as melhores e mais recentes funcionalidades da WP-CLI. +_Quer viver a vida no limite?_ Execute `wp cli update --nightly` para usar a última compilação de desenvolvimento da WP-CLI. Essa versão é bastante estável para utilizar em seu ambiente de desenvolvimento, e sempre inclui as melhores e mais atuais funcionalidades da WP-CLI. -### Autocompletar com tab +### Auto-completar -A WP-CLI também possui scripts de autocompletar para Bash ou ZSH. Baixe [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) e carregue-o através do `~/.bash_profile`: +WP-CLI também acompanha scripts de auto-completar para Bash ou ZSH. Faça o download [wp-completion.bash](https://github.com/wp-cli/wp-cli/raw/master/utils/wp-completion.bash) e carregue o arquivo para `~/.bash_profile`: ```bash source /FULL/PATH/TO/wp-completion.bash @@ -116,42 +96,26 @@ source /FULL/PATH/TO/wp-completion.bash Não se esqueça de executar `source ~/.bash_profile` em seguida. -Se estiver usando zsh como shell, pode ser necessário carregar e iniciar `bashcompinit` antes de carregá-lo. Inclua o seguinte no seu `.zshrc`: - -```bash -autoload bashcompinit -bashcompinit -source /FULL/PATH/TO/wp-completion.bash -``` - ## Suporte -Os responsáveis e os colaboradores da WP-CLI possuem disponibilidade limitada para atender a questões gerais de suporte. A [versão atual da WP-CLI](https://make.wordpress.org/cli/handbook/roadmap/) é a única com suporte oficial. - -Ao procurar por suporte, pesquise primeiro por sua dúvida nas fontes abaixo: +Os colaboradores do projeto WP-CLI fazem seu melhor para rsponder a todos os problemas assim que possível. Para que possamos fazer melhor uso do tempo dos voluntários, verifique se já existe uma resposta para sua pergunta em umas das fontes abaixo: -* [Questões comuns e suas respostas](https://make.wordpress.org/cli/handbook/common-issues/) -* [Manual da WP-CLI](https://make.wordpress.org/cli/handbook/) -* [Questões abertas ou fechadas no GitHub da WP-CLI](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* [Tópicos com a tag 'WP-CLI' no fórum de suporte do WordPress.org](https://wordpress.org/support/topic-tag/wp-cli/) -* [Questões com a tag 'WP-CLI' no WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) +- [Questões comuns e suas respostas](https://wp-cli.org/docs/common-issues/) +- [Melhores práticas para informar um problema](https://wp-cli.org/docs/bug-reports/) +- [Portal de documentação](https://wp-cli.org/docs/) +- [Questões abertas ou fechadas no Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [Forum WordPress no StackExchange](http://wordpress.stackexchange.com/questions/tagged/wp-cli) -Se você não encontrou uma resposta em nenhum dos endereços acima, você pode: +Caso não encontre uma resposta na fontes existentes, fique a vontade para [abrir uma questão](https://github.com/wp-cli/wp-cli/issues/new) com sua dúvida. -* Entrar para o canal `#cli` no [Slack Internacional do WordPress.org](https://make.wordpress.org/chat/) para conversar com quem estiver disponível no momento. Esta opção é a melhor para perguntas rápidas. -* [Criar um novo tópico](https://wordpress.org/support/forum/wp-advanced/#new-post) no fórum internacional do WordPress.org e colocar a tag 'WP-CLI' para que ele seja encontrado pela comunidade. +Se você possui uma conta WordPress.org, considere se inscrever no canal `#cli` no [Slack do WordPress.org](https://make.wordpress.org/chat/). -Issues do GitHub são usadas para acompanhar melhorias e erros dos comandos existentes, não para suporte em geral. Antes de informar um erro, veja [nossas boas práticas](https://make.wordpress.org/cli/handbook/bug-reports/) para que o problema possa ser resolvido em tempo hábil. +## Extendendo -Não faça perguntas de suporte no Twitter. O Twitter não é um lugar aceitável para suporte porque: 1) é difícil conversar com apenas 280 caracteres e 2) o Twitter não é um lugar onde alguém com a mesma pergunta possa procurar por uma resposta de uma conversa anterior. +Um **commando** é uma unidade singular de uma funcionalidade WP-CLI. `wp plugin install` ([doc](https://wp-cli.org/commands/plugin/install/)) é um comando. `wp plugin activate` ([doc](https://wp-cli.org/commands/plugin/activate/)) é outro. -Lembre-se: libre != gratis; A licença do código aberto dá para você a liberdade de usar e modificar, mas não gera compromissos com o tempo dos outros. Seja respeitoso e regule suas expectativas. +A WP-CLI suporta o registro de qualquer classe ou função como um comando, lendo os detalhes de uso através de _PHPdoc Callback_. `WP_CLI::add_command()` ([doc](https://wp-cli.org/docs/internal-api/wp-cli-add-command/)) é utilizado para registo de comandos internos e de terceiros. -## Estendendo - -Um **comando** é a unidade atômica de funcionalidade da WP-CLI. `wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) é um comando. `wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) é outro. - -A WP-CLI suporta o registro de qualquer classe ou função como um comando. Ela lê os detalhes de uso através do callback do PHPdoc. `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) é usado para registo de comandos internos e de terceiros. ```php /** @@ -181,31 +145,36 @@ $delete_option_cmd = function( $args ) { WP_CLI::add_command( 'option delete', $delete_option_cmd ); ``` -A WP-CLI vem com vários comandos. Criar um comando personalizado para WP-CLI é mais fácil do que parece. Leia o [livro de receitas de comandos](https://make.wordpress.org/cli/handbook/commands-cookbook/) para saber mais. Navegue pela [documentação de API interna](https://make.wordpress.org/cli/handbook/internal-api/) para descobrir umaa variedade de funções úteis que você pode utilizar no seu comando personalizado para WP-CLI. +WP-CLI vem com muitos comandos. Criar um comando personalizado para WP-CLi é mais fácil do que parece. Leia o [livro de receitas de comandos](https://wp-cli.org/docs/commands-cookbook/) para aprender mais. Procure a [documentação de API interna](https://wp-cli.org/docs/internal-api/) para descobrir a variedade de funcionalidades úteis que você pode utilizar no seu comando personalizado para WP-CLI. ## Contribuindo -Nós agradecemos sua iniciativa em contribuir com a WP-CLI. É por sua causa, e pela comunidade à sua volta, que a WP-CLI é um projeto tão legal. +Seja bem vindo e obrigado! + +Nós agradecemos sua iniciativa em contribuir com a WP-CLI. É por sua causa e a comunidade a sua volta, que a WP-CLI se tornou um grande projeto. -**Contribuir não é limitado somente a código.** Nós encorajamos você a contribuir da maneira que melhor se encaixar em suas habilidades, escrevendo tutoriais, com demonstrações em meetups locais, ajudando outros usuários respondendo suas dúvidas no fórum ou revisando nossa documentação. +**Contribuir não é limitado a somente código.** Te encorajamos a contribuir da maneira que melhor se encaixe em suas habilidades, escrevendo tutoriais, com demonstrações em palestras locais, ajudar outros usuários respondendo suas dúvidas no suporte, ou revisando nossa documentação. -No manual, dê uma olhada nas nossas [diretrizes para contribuir](https://make.wordpress.org/cli/handbook/contributing/) para uma introdução completa sobre como participar. Seguir esses passos ajuda a passar a ideia de que você respeita o tempo dos outros colaboradores. Por sua vez, eles farão o melhor para retribuir esse respeito ao trabalhar com você, nos diferentes fusos horários, em todo o mundo. +De uma olhada com atenção [nesse guia](https://wp-cli.org/docs/contributing/). Seguindo esses passos você estará respeitando o tempo dos outros colaboradoes. Por sua vez, eles farão o melhor para retribuir esse respeito no trabalho com você, nos diferentes fusos horários e em todo o mundo. -## Liderança +## Criadores e liderança -A WP-CLI tem um responsável pelo projeto: [schlessera](https://github.com/schlessera). +WP-CLI foi criado e mantido por: -Quando necessário, [damos permissão de escrita para colaboradores](https://make.wordpress.org/cli/handbook/committers-credo/) que demonstraram sua capacidade durante algum tempo e que se esforçaram para levar o projeto adiante. +* [Daniel Bachhuber](https://github.com/danielbachhuber/) - Líder atual +* [Cristi Burcă](https://github.com/scribu) - Líder anterior +* [Andreas Creten](https://github.com/andreascreten) - Criador -Leia o [documento sobre governança no manual](https://make.wordpress.org/cli/handbook/governance/) para mais detalhes operacionais do projeto. +Saiba mais sobre os projetos de [governança](https://wp-cli.org/docs/governance/) e veja a [lista completa dos colaboradores](https://github.com/wp-cli/wp-cli/contributors). ## Créditos + -Além das bibliotecas especificadas em [composer.json](/composer.json), usamos código ou ideias dos projetos abaixos: +Além das bibliotecas especificadas em [composer.json](/composer.json), utilizamos o código ou idéias dos projetos abaixos: -* [Drush](https://github.com/drush-ops/drush) para... muitas coisas -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) para `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) para `wp media regenerate` +* [Drush](http://drush.ws/) para... muitas coisas +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) para `wp shell` +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) para `wp media regenerate` * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) para `wp search-replace` * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) para `wp export` * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) para `wp import` diff --git a/commands/blog/create/index.md b/commands/blog/create/index.md deleted file mode 100644 index 3502b1a0..00000000 --- a/commands/blog/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/create/ ---- \ No newline at end of file diff --git a/commands/blog/delete/index.md b/commands/blog/delete/index.md deleted file mode 100644 index 312f171c..00000000 --- a/commands/blog/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/delete/ ---- \ No newline at end of file diff --git a/commands/blog/empty/index.md b/commands/blog/empty/index.md deleted file mode 100644 index 3017c434..00000000 --- a/commands/blog/empty/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/empty/ ---- \ No newline at end of file diff --git a/commands/blog/index.md b/commands/blog/index.md deleted file mode 100644 index 39ca96ed..00000000 --- a/commands/blog/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/ ---- \ No newline at end of file diff --git a/commands/cache/add/index.md b/commands/cache/add/index.md deleted file mode 100644 index 8e39e41b..00000000 --- a/commands/cache/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/add/ ---- \ No newline at end of file diff --git a/commands/cache/decr/index.md b/commands/cache/decr/index.md deleted file mode 100644 index 2601c83f..00000000 --- a/commands/cache/decr/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/decr/ ---- \ No newline at end of file diff --git a/commands/cache/delete/index.md b/commands/cache/delete/index.md deleted file mode 100644 index 2b321377..00000000 --- a/commands/cache/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/delete/ ---- \ No newline at end of file diff --git a/commands/cache/flush/index.md b/commands/cache/flush/index.md deleted file mode 100644 index 7063e12c..00000000 --- a/commands/cache/flush/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/flush/ ---- \ No newline at end of file diff --git a/commands/cache/get/index.md b/commands/cache/get/index.md deleted file mode 100644 index 5fcfebff..00000000 --- a/commands/cache/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/get/ ---- \ No newline at end of file diff --git a/commands/cache/incr/index.md b/commands/cache/incr/index.md deleted file mode 100644 index 3cc26adc..00000000 --- a/commands/cache/incr/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/incr/ ---- \ No newline at end of file diff --git a/commands/cache/index.md b/commands/cache/index.md deleted file mode 100644 index a08cf894..00000000 --- a/commands/cache/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/ ---- \ No newline at end of file diff --git a/commands/cache/replace/index.md b/commands/cache/replace/index.md deleted file mode 100644 index 920bf711..00000000 --- a/commands/cache/replace/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/replace/ ---- \ No newline at end of file diff --git a/commands/cache/set/index.md b/commands/cache/set/index.md deleted file mode 100644 index 28c99103..00000000 --- a/commands/cache/set/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/set/ ---- \ No newline at end of file diff --git a/commands/cache/type/index.md b/commands/cache/type/index.md deleted file mode 100644 index 0ed8cc83..00000000 --- a/commands/cache/type/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cache/type/ ---- \ No newline at end of file diff --git a/commands/cap/add/index.md b/commands/cap/add/index.md deleted file mode 100644 index 9ec05e62..00000000 --- a/commands/cap/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cap/add/ ---- \ No newline at end of file diff --git a/commands/cap/index.md b/commands/cap/index.md deleted file mode 100644 index 9a3cd08f..00000000 --- a/commands/cap/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cap/ ---- \ No newline at end of file diff --git a/commands/cap/list/index.md b/commands/cap/list/index.md deleted file mode 100644 index cadf22f5..00000000 --- a/commands/cap/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cap/list/ ---- \ No newline at end of file diff --git a/commands/cap/remove/index.md b/commands/cap/remove/index.md deleted file mode 100644 index a88a4f31..00000000 --- a/commands/cap/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cap/remove/ ---- \ No newline at end of file diff --git a/commands/cli/alias/index.md b/commands/cli/alias/index.md deleted file mode 100644 index 9a2df749..00000000 --- a/commands/cli/alias/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/alias/ ---- \ No newline at end of file diff --git a/commands/cli/check-update/index.md b/commands/cli/check-update/index.md deleted file mode 100644 index 6e7af947..00000000 --- a/commands/cli/check-update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/check-update/ ---- \ No newline at end of file diff --git a/commands/cli/cmd-dump/index.md b/commands/cli/cmd-dump/index.md deleted file mode 100644 index 0b6dcf46..00000000 --- a/commands/cli/cmd-dump/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/cmd-dump/ ---- \ No newline at end of file diff --git a/commands/cli/completions/index.md b/commands/cli/completions/index.md deleted file mode 100644 index aaf88f6e..00000000 --- a/commands/cli/completions/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/completions/ ---- \ No newline at end of file diff --git a/commands/cli/index.md b/commands/cli/index.md deleted file mode 100644 index 030254ae..00000000 --- a/commands/cli/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/ ---- \ No newline at end of file diff --git a/commands/cli/info/index.md b/commands/cli/info/index.md deleted file mode 100644 index 1aea9db2..00000000 --- a/commands/cli/info/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/info/ ---- \ No newline at end of file diff --git a/commands/cli/param-dump/index.md b/commands/cli/param-dump/index.md deleted file mode 100644 index ceb354b3..00000000 --- a/commands/cli/param-dump/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/param-dump/ ---- \ No newline at end of file diff --git a/commands/cli/update/index.md b/commands/cli/update/index.md deleted file mode 100644 index f1f62e51..00000000 --- a/commands/cli/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/update/ ---- \ No newline at end of file diff --git a/commands/cli/version/index.md b/commands/cli/version/index.md deleted file mode 100644 index e639b203..00000000 --- a/commands/cli/version/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cli/version/ ---- \ No newline at end of file diff --git a/commands/comment/approve/index.md b/commands/comment/approve/index.md deleted file mode 100644 index ff2d7673..00000000 --- a/commands/comment/approve/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/approve/ ---- \ No newline at end of file diff --git a/commands/comment/count/index.md b/commands/comment/count/index.md deleted file mode 100644 index 9a7e66f5..00000000 --- a/commands/comment/count/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/count/ ---- \ No newline at end of file diff --git a/commands/comment/create/index.md b/commands/comment/create/index.md deleted file mode 100644 index ca315bf5..00000000 --- a/commands/comment/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/create/ ---- \ No newline at end of file diff --git a/commands/comment/delete/index.md b/commands/comment/delete/index.md deleted file mode 100644 index 9a5c9c4f..00000000 --- a/commands/comment/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/delete/ ---- \ No newline at end of file diff --git a/commands/comment/exists/index.md b/commands/comment/exists/index.md deleted file mode 100644 index 94f93bb4..00000000 --- a/commands/comment/exists/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/exists/ ---- \ No newline at end of file diff --git a/commands/comment/generate/index.md b/commands/comment/generate/index.md deleted file mode 100644 index 39debe61..00000000 --- a/commands/comment/generate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/generate/ ---- \ No newline at end of file diff --git a/commands/comment/get/index.md b/commands/comment/get/index.md deleted file mode 100644 index 63ca9405..00000000 --- a/commands/comment/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/get/ ---- \ No newline at end of file diff --git a/commands/comment/index.md b/commands/comment/index.md deleted file mode 100644 index c1b96fc4..00000000 --- a/commands/comment/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/ ---- \ No newline at end of file diff --git a/commands/comment/list/index.md b/commands/comment/list/index.md deleted file mode 100644 index 316c0dcf..00000000 --- a/commands/comment/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/list/ ---- \ No newline at end of file diff --git a/commands/comment/meta/add/index.md b/commands/comment/meta/add/index.md deleted file mode 100644 index edb127d4..00000000 --- a/commands/comment/meta/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/add/ ---- \ No newline at end of file diff --git a/commands/comment/meta/delete/index.md b/commands/comment/meta/delete/index.md deleted file mode 100644 index 0f699649..00000000 --- a/commands/comment/meta/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/delete/ ---- \ No newline at end of file diff --git a/commands/comment/meta/get/index.md b/commands/comment/meta/get/index.md deleted file mode 100644 index 6458617e..00000000 --- a/commands/comment/meta/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/get/ ---- \ No newline at end of file diff --git a/commands/comment/meta/index.md b/commands/comment/meta/index.md deleted file mode 100644 index b5c7ea6b..00000000 --- a/commands/comment/meta/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/ ---- \ No newline at end of file diff --git a/commands/comment/meta/list/index.md b/commands/comment/meta/list/index.md deleted file mode 100644 index f9a62856..00000000 --- a/commands/comment/meta/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/list/ ---- \ No newline at end of file diff --git a/commands/comment/meta/update/index.md b/commands/comment/meta/update/index.md deleted file mode 100644 index e6748ec3..00000000 --- a/commands/comment/meta/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/meta/update/ ---- \ No newline at end of file diff --git a/commands/comment/recount/index.md b/commands/comment/recount/index.md deleted file mode 100644 index f1395902..00000000 --- a/commands/comment/recount/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/recount/ ---- \ No newline at end of file diff --git a/commands/comment/spam/index.md b/commands/comment/spam/index.md deleted file mode 100644 index a0c34585..00000000 --- a/commands/comment/spam/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/spam/ ---- \ No newline at end of file diff --git a/commands/comment/status/index.md b/commands/comment/status/index.md deleted file mode 100644 index 9f1c5e3f..00000000 --- a/commands/comment/status/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/status/ ---- \ No newline at end of file diff --git a/commands/comment/trash/index.md b/commands/comment/trash/index.md deleted file mode 100644 index d6489354..00000000 --- a/commands/comment/trash/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/trash/ ---- \ No newline at end of file diff --git a/commands/comment/unapprove/index.md b/commands/comment/unapprove/index.md deleted file mode 100644 index 5006dfb3..00000000 --- a/commands/comment/unapprove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/unapprove/ ---- \ No newline at end of file diff --git a/commands/comment/unspam/index.md b/commands/comment/unspam/index.md deleted file mode 100644 index 115f0194..00000000 --- a/commands/comment/unspam/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/unspam/ ---- \ No newline at end of file diff --git a/commands/comment/untrash/index.md b/commands/comment/untrash/index.md deleted file mode 100644 index 623aec36..00000000 --- a/commands/comment/untrash/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/untrash/ ---- \ No newline at end of file diff --git a/commands/comment/update/index.md b/commands/comment/update/index.md deleted file mode 100644 index 735eefde..00000000 --- a/commands/comment/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/comment/update/ ---- \ No newline at end of file diff --git a/commands/core/check-update/index.md b/commands/core/check-update/index.md deleted file mode 100644 index e140a369..00000000 --- a/commands/core/check-update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/check-update/ ---- \ No newline at end of file diff --git a/commands/core/config/index.md b/commands/core/config/index.md deleted file mode 100644 index 8549546c..00000000 --- a/commands/core/config/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/config/ ---- \ No newline at end of file diff --git a/commands/core/download/index.md b/commands/core/download/index.md deleted file mode 100644 index 6647a311..00000000 --- a/commands/core/download/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/download/ ---- \ No newline at end of file diff --git a/commands/core/index.md b/commands/core/index.md deleted file mode 100644 index f66842ad..00000000 --- a/commands/core/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/ ---- \ No newline at end of file diff --git a/commands/core/install-network/index.md b/commands/core/install-network/index.md deleted file mode 100644 index 8f496b90..00000000 --- a/commands/core/install-network/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/install-network/ ---- \ No newline at end of file diff --git a/commands/core/install/index.md b/commands/core/install/index.md deleted file mode 100644 index df7a3a4e..00000000 --- a/commands/core/install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/install/ ---- \ No newline at end of file diff --git a/commands/core/is-installed/index.md b/commands/core/is-installed/index.md deleted file mode 100644 index 42222529..00000000 --- a/commands/core/is-installed/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/is-installed/ ---- \ No newline at end of file diff --git a/commands/core/language/activate/index.md b/commands/core/language/activate/index.md deleted file mode 100644 index 381a62fc..00000000 --- a/commands/core/language/activate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/activate/ ---- \ No newline at end of file diff --git a/commands/core/language/index.md b/commands/core/language/index.md deleted file mode 100644 index 49fd5b91..00000000 --- a/commands/core/language/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/ ---- \ No newline at end of file diff --git a/commands/core/language/install/index.md b/commands/core/language/install/index.md deleted file mode 100644 index 351f9981..00000000 --- a/commands/core/language/install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/install/ ---- \ No newline at end of file diff --git a/commands/core/language/list/index.md b/commands/core/language/list/index.md deleted file mode 100644 index fdcf14d7..00000000 --- a/commands/core/language/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/list/ ---- \ No newline at end of file diff --git a/commands/core/language/uninstall/index.md b/commands/core/language/uninstall/index.md deleted file mode 100644 index 3f3af547..00000000 --- a/commands/core/language/uninstall/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/uninstall/ ---- \ No newline at end of file diff --git a/commands/core/language/update/index.md b/commands/core/language/update/index.md deleted file mode 100644 index c9b24b05..00000000 --- a/commands/core/language/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/language/update/ ---- \ No newline at end of file diff --git a/commands/core/multisite-convert/index.md b/commands/core/multisite-convert/index.md deleted file mode 100644 index ae58e516..00000000 --- a/commands/core/multisite-convert/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/multisite-convert/ ---- \ No newline at end of file diff --git a/commands/core/multisite-install/index.md b/commands/core/multisite-install/index.md deleted file mode 100644 index 24524dd4..00000000 --- a/commands/core/multisite-install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/multisite-install/ ---- \ No newline at end of file diff --git a/commands/core/update-db/index.md b/commands/core/update-db/index.md deleted file mode 100644 index 3a1b2654..00000000 --- a/commands/core/update-db/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/update-db/ ---- \ No newline at end of file diff --git a/commands/core/update/index.md b/commands/core/update/index.md deleted file mode 100644 index e3e875bb..00000000 --- a/commands/core/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/update/ ---- \ No newline at end of file diff --git a/commands/core/verify-checksums/index.md b/commands/core/verify-checksums/index.md deleted file mode 100644 index f9cbb898..00000000 --- a/commands/core/verify-checksums/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/verify-checksums/ ---- \ No newline at end of file diff --git a/commands/core/version/index.md b/commands/core/version/index.md deleted file mode 100644 index f872eb73..00000000 --- a/commands/core/version/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/core/version/ ---- \ No newline at end of file diff --git a/commands/cron/event/delete/index.md b/commands/cron/event/delete/index.md deleted file mode 100644 index 4b18d472..00000000 --- a/commands/cron/event/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/event/delete/ ---- \ No newline at end of file diff --git a/commands/cron/event/index.md b/commands/cron/event/index.md deleted file mode 100644 index 37737729..00000000 --- a/commands/cron/event/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/event/ ---- \ No newline at end of file diff --git a/commands/cron/event/list/index.md b/commands/cron/event/list/index.md deleted file mode 100644 index 1bc661af..00000000 --- a/commands/cron/event/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/event/list/ ---- \ No newline at end of file diff --git a/commands/cron/event/run/index.md b/commands/cron/event/run/index.md deleted file mode 100644 index a5e53006..00000000 --- a/commands/cron/event/run/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/event/run/ ---- \ No newline at end of file diff --git a/commands/cron/event/schedule/index.md b/commands/cron/event/schedule/index.md deleted file mode 100644 index f817198b..00000000 --- a/commands/cron/event/schedule/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/event/schedule/ ---- \ No newline at end of file diff --git a/commands/cron/index.md b/commands/cron/index.md deleted file mode 100644 index ab003276..00000000 --- a/commands/cron/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/ ---- \ No newline at end of file diff --git a/commands/cron/schedule/index.md b/commands/cron/schedule/index.md deleted file mode 100644 index 1d0728c2..00000000 --- a/commands/cron/schedule/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/schedule/ ---- \ No newline at end of file diff --git a/commands/cron/schedule/list/index.md b/commands/cron/schedule/list/index.md deleted file mode 100644 index 88ba00e3..00000000 --- a/commands/cron/schedule/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/schedule/list/ ---- \ No newline at end of file diff --git a/commands/cron/test/index.md b/commands/cron/test/index.md deleted file mode 100644 index d14bef75..00000000 --- a/commands/cron/test/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/cron/test/ ---- \ No newline at end of file diff --git a/commands/db/check/index.md b/commands/db/check/index.md deleted file mode 100644 index 836e72bb..00000000 --- a/commands/db/check/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/check/ ---- \ No newline at end of file diff --git a/commands/db/cli/index.md b/commands/db/cli/index.md deleted file mode 100644 index 3e83634c..00000000 --- a/commands/db/cli/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/cli/ ---- \ No newline at end of file diff --git a/commands/db/create/index.md b/commands/db/create/index.md deleted file mode 100644 index c502d99b..00000000 --- a/commands/db/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/create/ ---- \ No newline at end of file diff --git a/commands/db/drop/index.md b/commands/db/drop/index.md deleted file mode 100644 index 69957c56..00000000 --- a/commands/db/drop/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/drop/ ---- \ No newline at end of file diff --git a/commands/db/export/index.md b/commands/db/export/index.md deleted file mode 100644 index c05d048e..00000000 --- a/commands/db/export/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/export/ ---- \ No newline at end of file diff --git a/commands/db/import/index.md b/commands/db/import/index.md deleted file mode 100644 index 74b6bd5f..00000000 --- a/commands/db/import/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/import/ ---- \ No newline at end of file diff --git a/commands/db/index.md b/commands/db/index.md deleted file mode 100644 index 9eb8483c..00000000 --- a/commands/db/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/ ---- \ No newline at end of file diff --git a/commands/db/optimize/index.md b/commands/db/optimize/index.md deleted file mode 100644 index 13c258c7..00000000 --- a/commands/db/optimize/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/optimize/ ---- \ No newline at end of file diff --git a/commands/db/query/index.md b/commands/db/query/index.md deleted file mode 100644 index 7cbfb232..00000000 --- a/commands/db/query/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/query/ ---- \ No newline at end of file diff --git a/commands/db/repair/index.md b/commands/db/repair/index.md deleted file mode 100644 index 4bb09152..00000000 --- a/commands/db/repair/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/repair/ ---- \ No newline at end of file diff --git a/commands/db/reset/index.md b/commands/db/reset/index.md deleted file mode 100644 index ea4e3970..00000000 --- a/commands/db/reset/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/reset/ ---- \ No newline at end of file diff --git a/commands/db/tables/index.md b/commands/db/tables/index.md deleted file mode 100644 index d35d47d1..00000000 --- a/commands/db/tables/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/db/tables/ ---- \ No newline at end of file diff --git a/commands/eval-file/index.md b/commands/eval-file/index.md deleted file mode 100644 index 99da8219..00000000 --- a/commands/eval-file/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/eval-file/ ---- \ No newline at end of file diff --git a/commands/eval/index.md b/commands/eval/index.md deleted file mode 100644 index 133cbdfa..00000000 --- a/commands/eval/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/eval/ ---- \ No newline at end of file diff --git a/commands/export/index.md b/commands/export/index.md deleted file mode 100644 index 03d5c2bf..00000000 --- a/commands/export/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/export/ ---- \ No newline at end of file diff --git a/commands/help/index.md b/commands/help/index.md deleted file mode 100644 index 572ea263..00000000 --- a/commands/help/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/help/ ---- \ No newline at end of file diff --git a/commands/import/index.md b/commands/import/index.md deleted file mode 100644 index f5dc2038..00000000 --- a/commands/import/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/import/ ---- \ No newline at end of file diff --git a/commands/media/import/index.md b/commands/media/import/index.md deleted file mode 100644 index 7791aae0..00000000 --- a/commands/media/import/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/media/import/ ---- \ No newline at end of file diff --git a/commands/media/index.md b/commands/media/index.md deleted file mode 100644 index 3d6aaba6..00000000 --- a/commands/media/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/media/ ---- \ No newline at end of file diff --git a/commands/media/regenerate/index.md b/commands/media/regenerate/index.md deleted file mode 100644 index 421570e0..00000000 --- a/commands/media/regenerate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/media/regenerate/ ---- \ No newline at end of file diff --git a/commands/menu/create/index.md b/commands/menu/create/index.md deleted file mode 100644 index 328f015f..00000000 --- a/commands/menu/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/create/ ---- \ No newline at end of file diff --git a/commands/menu/delete/index.md b/commands/menu/delete/index.md deleted file mode 100644 index a82ae40d..00000000 --- a/commands/menu/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/delete/ ---- \ No newline at end of file diff --git a/commands/menu/index.md b/commands/menu/index.md deleted file mode 100644 index ef050659..00000000 --- a/commands/menu/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/ ---- \ No newline at end of file diff --git a/commands/menu/item/add-custom/index.md b/commands/menu/item/add-custom/index.md deleted file mode 100644 index 50474c1b..00000000 --- a/commands/menu/item/add-custom/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/add-custom/ ---- \ No newline at end of file diff --git a/commands/menu/item/add-post/index.md b/commands/menu/item/add-post/index.md deleted file mode 100644 index 9f20940e..00000000 --- a/commands/menu/item/add-post/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/add-post/ ---- \ No newline at end of file diff --git a/commands/menu/item/add-term/index.md b/commands/menu/item/add-term/index.md deleted file mode 100644 index da0b9d23..00000000 --- a/commands/menu/item/add-term/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/add-term/ ---- \ No newline at end of file diff --git a/commands/menu/item/delete/index.md b/commands/menu/item/delete/index.md deleted file mode 100644 index 7c748e70..00000000 --- a/commands/menu/item/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/delete/ ---- \ No newline at end of file diff --git a/commands/menu/item/index.md b/commands/menu/item/index.md deleted file mode 100644 index f09f1f86..00000000 --- a/commands/menu/item/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/ ---- \ No newline at end of file diff --git a/commands/menu/item/list/index.md b/commands/menu/item/list/index.md deleted file mode 100644 index 0713b338..00000000 --- a/commands/menu/item/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/list/ ---- \ No newline at end of file diff --git a/commands/menu/item/update/index.md b/commands/menu/item/update/index.md deleted file mode 100644 index 01b68582..00000000 --- a/commands/menu/item/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/item/update/ ---- \ No newline at end of file diff --git a/commands/menu/list/index.md b/commands/menu/list/index.md deleted file mode 100644 index fded4a73..00000000 --- a/commands/menu/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/list/ ---- \ No newline at end of file diff --git a/commands/menu/location/assign/index.md b/commands/menu/location/assign/index.md deleted file mode 100644 index 9c746201..00000000 --- a/commands/menu/location/assign/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/location/assign/ ---- \ No newline at end of file diff --git a/commands/menu/location/index.md b/commands/menu/location/index.md deleted file mode 100644 index c66f02e5..00000000 --- a/commands/menu/location/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/location/ ---- \ No newline at end of file diff --git a/commands/menu/location/list/index.md b/commands/menu/location/list/index.md deleted file mode 100644 index 6d1e3701..00000000 --- a/commands/menu/location/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/location/list/ ---- \ No newline at end of file diff --git a/commands/menu/location/remove/index.md b/commands/menu/location/remove/index.md deleted file mode 100644 index fb4ceb5a..00000000 --- a/commands/menu/location/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/menu/location/remove/ ---- \ No newline at end of file diff --git a/commands/network/index.md b/commands/network/index.md deleted file mode 100644 index 3c879aac..00000000 --- a/commands/network/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/ ---- \ No newline at end of file diff --git a/commands/network/meta/add/index.md b/commands/network/meta/add/index.md deleted file mode 100644 index 860053db..00000000 --- a/commands/network/meta/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/add/ ---- \ No newline at end of file diff --git a/commands/network/meta/delete/index.md b/commands/network/meta/delete/index.md deleted file mode 100644 index 01f0800c..00000000 --- a/commands/network/meta/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/delete/ ---- \ No newline at end of file diff --git a/commands/network/meta/get/index.md b/commands/network/meta/get/index.md deleted file mode 100644 index 16932de1..00000000 --- a/commands/network/meta/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/get/ ---- \ No newline at end of file diff --git a/commands/network/meta/index.md b/commands/network/meta/index.md deleted file mode 100644 index cdeaca95..00000000 --- a/commands/network/meta/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/ ---- \ No newline at end of file diff --git a/commands/network/meta/list/index.md b/commands/network/meta/list/index.md deleted file mode 100644 index a3fed3c7..00000000 --- a/commands/network/meta/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/list/ ---- \ No newline at end of file diff --git a/commands/network/meta/update/index.md b/commands/network/meta/update/index.md deleted file mode 100644 index b22e3a32..00000000 --- a/commands/network/meta/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/network/meta/update/ ---- \ No newline at end of file diff --git a/commands/option/add/index.md b/commands/option/add/index.md deleted file mode 100644 index 403f7920..00000000 --- a/commands/option/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/add/ ---- \ No newline at end of file diff --git a/commands/option/delete/index.md b/commands/option/delete/index.md deleted file mode 100644 index d471a9c3..00000000 --- a/commands/option/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/delete/ ---- \ No newline at end of file diff --git a/commands/option/get/index.md b/commands/option/get/index.md deleted file mode 100644 index 56bd6852..00000000 --- a/commands/option/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/get/ ---- \ No newline at end of file diff --git a/commands/option/index.md b/commands/option/index.md deleted file mode 100644 index 637929ff..00000000 --- a/commands/option/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/ ---- \ No newline at end of file diff --git a/commands/option/list/index.md b/commands/option/list/index.md deleted file mode 100644 index 926ae1b4..00000000 --- a/commands/option/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/list/ ---- \ No newline at end of file diff --git a/commands/option/update/index.md b/commands/option/update/index.md deleted file mode 100644 index d9f799f0..00000000 --- a/commands/option/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/option/update/ ---- \ No newline at end of file diff --git a/commands/package/browse/index.md b/commands/package/browse/index.md deleted file mode 100644 index b0ad5d4f..00000000 --- a/commands/package/browse/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/browse/ ---- \ No newline at end of file diff --git a/commands/package/index.md b/commands/package/index.md deleted file mode 100644 index ebb25bcf..00000000 --- a/commands/package/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/ ---- \ No newline at end of file diff --git a/commands/package/install/index.md b/commands/package/install/index.md deleted file mode 100644 index ff315b55..00000000 --- a/commands/package/install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/install/ ---- \ No newline at end of file diff --git a/commands/package/list/index.md b/commands/package/list/index.md deleted file mode 100644 index 0df19ed1..00000000 --- a/commands/package/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/list/ ---- \ No newline at end of file diff --git a/commands/package/path/index.md b/commands/package/path/index.md deleted file mode 100644 index a29adb9d..00000000 --- a/commands/package/path/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/path/ ---- \ No newline at end of file diff --git a/commands/package/uninstall/index.md b/commands/package/uninstall/index.md deleted file mode 100644 index 847871ae..00000000 --- a/commands/package/uninstall/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/uninstall/ ---- \ No newline at end of file diff --git a/commands/package/update/index.md b/commands/package/update/index.md deleted file mode 100644 index 33f5b728..00000000 --- a/commands/package/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/package/update/ ---- \ No newline at end of file diff --git a/commands/plugin/activate/index.md b/commands/plugin/activate/index.md deleted file mode 100644 index 0fd2b1f1..00000000 --- a/commands/plugin/activate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/activate/ ---- \ No newline at end of file diff --git a/commands/plugin/deactivate/index.md b/commands/plugin/deactivate/index.md deleted file mode 100644 index 05aaf682..00000000 --- a/commands/plugin/deactivate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/deactivate/ ---- \ No newline at end of file diff --git a/commands/plugin/delete/index.md b/commands/plugin/delete/index.md deleted file mode 100644 index 4d0e9541..00000000 --- a/commands/plugin/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/delete/ ---- \ No newline at end of file diff --git a/commands/plugin/get/index.md b/commands/plugin/get/index.md deleted file mode 100644 index dec04a29..00000000 --- a/commands/plugin/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/get/ ---- \ No newline at end of file diff --git a/commands/plugin/index.md b/commands/plugin/index.md deleted file mode 100644 index eb0260a9..00000000 --- a/commands/plugin/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/ ---- \ No newline at end of file diff --git a/commands/plugin/install/index.md b/commands/plugin/install/index.md deleted file mode 100644 index 7682ff48..00000000 --- a/commands/plugin/install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/install/ ---- \ No newline at end of file diff --git a/commands/plugin/is-installed/index.md b/commands/plugin/is-installed/index.md deleted file mode 100644 index d1cdedca..00000000 --- a/commands/plugin/is-installed/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/is-installed/ ---- \ No newline at end of file diff --git a/commands/plugin/list/index.md b/commands/plugin/list/index.md deleted file mode 100644 index 40959e92..00000000 --- a/commands/plugin/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/list/ ---- \ No newline at end of file diff --git a/commands/plugin/path/index.md b/commands/plugin/path/index.md deleted file mode 100644 index 22e187e0..00000000 --- a/commands/plugin/path/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/path/ ---- \ No newline at end of file diff --git a/commands/plugin/search/index.md b/commands/plugin/search/index.md deleted file mode 100644 index 9ddf89b7..00000000 --- a/commands/plugin/search/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/search/ ---- \ No newline at end of file diff --git a/commands/plugin/status/index.md b/commands/plugin/status/index.md deleted file mode 100644 index 31358b56..00000000 --- a/commands/plugin/status/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/status/ ---- \ No newline at end of file diff --git a/commands/plugin/toggle/index.md b/commands/plugin/toggle/index.md deleted file mode 100644 index bbb60ac7..00000000 --- a/commands/plugin/toggle/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/toggle/ ---- \ No newline at end of file diff --git a/commands/plugin/uninstall/index.md b/commands/plugin/uninstall/index.md deleted file mode 100644 index faac3fb8..00000000 --- a/commands/plugin/uninstall/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/uninstall/ ---- \ No newline at end of file diff --git a/commands/plugin/update-all/index.md b/commands/plugin/update-all/index.md deleted file mode 100644 index 8f851dc4..00000000 --- a/commands/plugin/update-all/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/update-all/ ---- \ No newline at end of file diff --git a/commands/plugin/update/index.md b/commands/plugin/update/index.md deleted file mode 100644 index 851eaaba..00000000 --- a/commands/plugin/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/plugin/update/ ---- \ No newline at end of file diff --git a/commands/post-type/get/index.md b/commands/post-type/get/index.md deleted file mode 100644 index 00ea191e..00000000 --- a/commands/post-type/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post-type/get/ ---- \ No newline at end of file diff --git a/commands/post-type/index.md b/commands/post-type/index.md deleted file mode 100644 index 21f74bdc..00000000 --- a/commands/post-type/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post-type/ ---- \ No newline at end of file diff --git a/commands/post-type/list/index.md b/commands/post-type/list/index.md deleted file mode 100644 index cd697686..00000000 --- a/commands/post-type/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post-type/list/ ---- \ No newline at end of file diff --git a/commands/post/create/index.md b/commands/post/create/index.md deleted file mode 100644 index f68570ef..00000000 --- a/commands/post/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/create/ ---- \ No newline at end of file diff --git a/commands/post/delete/index.md b/commands/post/delete/index.md deleted file mode 100644 index 5a66451a..00000000 --- a/commands/post/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/delete/ ---- \ No newline at end of file diff --git a/commands/post/edit/index.md b/commands/post/edit/index.md deleted file mode 100644 index 738c4ca5..00000000 --- a/commands/post/edit/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/edit/ ---- \ No newline at end of file diff --git a/commands/post/generate/index.md b/commands/post/generate/index.md deleted file mode 100644 index 88f61c8f..00000000 --- a/commands/post/generate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/generate/ ---- \ No newline at end of file diff --git a/commands/post/get/index.md b/commands/post/get/index.md deleted file mode 100644 index 7df99292..00000000 --- a/commands/post/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/get/ ---- \ No newline at end of file diff --git a/commands/post/index.md b/commands/post/index.md deleted file mode 100644 index 7ee724b9..00000000 --- a/commands/post/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/ ---- \ No newline at end of file diff --git a/commands/post/list/index.md b/commands/post/list/index.md deleted file mode 100644 index f7a8663e..00000000 --- a/commands/post/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/list/ ---- \ No newline at end of file diff --git a/commands/post/meta/add/index.md b/commands/post/meta/add/index.md deleted file mode 100644 index 34e2171c..00000000 --- a/commands/post/meta/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/add/ ---- \ No newline at end of file diff --git a/commands/post/meta/delete/index.md b/commands/post/meta/delete/index.md deleted file mode 100644 index efdddaed..00000000 --- a/commands/post/meta/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/delete/ ---- \ No newline at end of file diff --git a/commands/post/meta/get/index.md b/commands/post/meta/get/index.md deleted file mode 100644 index cf7fe2db..00000000 --- a/commands/post/meta/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/get/ ---- \ No newline at end of file diff --git a/commands/post/meta/index.md b/commands/post/meta/index.md deleted file mode 100644 index 33a9e9f8..00000000 --- a/commands/post/meta/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/ ---- \ No newline at end of file diff --git a/commands/post/meta/list/index.md b/commands/post/meta/list/index.md deleted file mode 100644 index 6ce03bbd..00000000 --- a/commands/post/meta/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/list/ ---- \ No newline at end of file diff --git a/commands/post/meta/update/index.md b/commands/post/meta/update/index.md deleted file mode 100644 index 777e1b71..00000000 --- a/commands/post/meta/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/meta/update/ ---- \ No newline at end of file diff --git a/commands/post/term/add/index.md b/commands/post/term/add/index.md deleted file mode 100644 index 254f552d..00000000 --- a/commands/post/term/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/term/add/ ---- \ No newline at end of file diff --git a/commands/post/term/index.md b/commands/post/term/index.md deleted file mode 100644 index 5b3e7d6f..00000000 --- a/commands/post/term/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/term/ ---- \ No newline at end of file diff --git a/commands/post/term/list/index.md b/commands/post/term/list/index.md deleted file mode 100644 index 18c8993a..00000000 --- a/commands/post/term/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/term/list/ ---- \ No newline at end of file diff --git a/commands/post/term/remove/index.md b/commands/post/term/remove/index.md deleted file mode 100644 index e9130d5b..00000000 --- a/commands/post/term/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/term/remove/ ---- \ No newline at end of file diff --git a/commands/post/term/set/index.md b/commands/post/term/set/index.md deleted file mode 100644 index b166638c..00000000 --- a/commands/post/term/set/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/term/set/ ---- \ No newline at end of file diff --git a/commands/post/update/index.md b/commands/post/update/index.md deleted file mode 100644 index 2dbb9b18..00000000 --- a/commands/post/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/post/update/ ---- \ No newline at end of file diff --git a/commands/rewrite/flush/index.md b/commands/rewrite/flush/index.md deleted file mode 100644 index 426b6b90..00000000 --- a/commands/rewrite/flush/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/rewrite/flush/ ---- \ No newline at end of file diff --git a/commands/rewrite/index.md b/commands/rewrite/index.md deleted file mode 100644 index 55ee63e7..00000000 --- a/commands/rewrite/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/rewrite/ ---- \ No newline at end of file diff --git a/commands/rewrite/list/index.md b/commands/rewrite/list/index.md deleted file mode 100644 index 0be10b1b..00000000 --- a/commands/rewrite/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/rewrite/list/ ---- \ No newline at end of file diff --git a/commands/rewrite/structure/index.md b/commands/rewrite/structure/index.md deleted file mode 100644 index bc3b0ec6..00000000 --- a/commands/rewrite/structure/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/rewrite/structure/ ---- \ No newline at end of file diff --git a/commands/role/create/index.md b/commands/role/create/index.md deleted file mode 100644 index 3f5f1c4c..00000000 --- a/commands/role/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/create/ ---- \ No newline at end of file diff --git a/commands/role/delete/index.md b/commands/role/delete/index.md deleted file mode 100644 index 4ad63ee2..00000000 --- a/commands/role/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/delete/ ---- \ No newline at end of file diff --git a/commands/role/exists/index.md b/commands/role/exists/index.md deleted file mode 100644 index ade85b2f..00000000 --- a/commands/role/exists/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/exists/ ---- \ No newline at end of file diff --git a/commands/role/index.md b/commands/role/index.md deleted file mode 100644 index ac7fae3c..00000000 --- a/commands/role/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/ ---- \ No newline at end of file diff --git a/commands/role/list/index.md b/commands/role/list/index.md deleted file mode 100644 index 2badf624..00000000 --- a/commands/role/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/list/ ---- \ No newline at end of file diff --git a/commands/role/reset/index.md b/commands/role/reset/index.md deleted file mode 100644 index 5227781d..00000000 --- a/commands/role/reset/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/role/reset/ ---- \ No newline at end of file diff --git a/commands/scaffold/_s/index.md b/commands/scaffold/_s/index.md deleted file mode 100644 index e89885cb..00000000 --- a/commands/scaffold/_s/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/_s/ ---- \ No newline at end of file diff --git a/commands/scaffold/child-theme/index.md b/commands/scaffold/child-theme/index.md deleted file mode 100644 index cde98b69..00000000 --- a/commands/scaffold/child-theme/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/child-theme/ ---- \ No newline at end of file diff --git a/commands/scaffold/index.md b/commands/scaffold/index.md deleted file mode 100644 index 1cdd0597..00000000 --- a/commands/scaffold/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/ ---- \ No newline at end of file diff --git a/commands/scaffold/plugin-tests/index.md b/commands/scaffold/plugin-tests/index.md deleted file mode 100644 index 34242ec4..00000000 --- a/commands/scaffold/plugin-tests/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/plugin-tests/ ---- \ No newline at end of file diff --git a/commands/scaffold/plugin/index.md b/commands/scaffold/plugin/index.md deleted file mode 100644 index d11fe36c..00000000 --- a/commands/scaffold/plugin/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/plugin/ ---- \ No newline at end of file diff --git a/commands/scaffold/post-type/index.md b/commands/scaffold/post-type/index.md deleted file mode 100644 index c0adab84..00000000 --- a/commands/scaffold/post-type/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/post-type/ ---- \ No newline at end of file diff --git a/commands/scaffold/taxonomy/index.md b/commands/scaffold/taxonomy/index.md deleted file mode 100644 index 521a39af..00000000 --- a/commands/scaffold/taxonomy/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/taxonomy/ ---- \ No newline at end of file diff --git a/commands/scaffold/theme-tests/index.md b/commands/scaffold/theme-tests/index.md deleted file mode 100644 index 7c2cf5ef..00000000 --- a/commands/scaffold/theme-tests/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/scaffold/theme-tests/ ---- \ No newline at end of file diff --git a/commands/search-replace/index.md b/commands/search-replace/index.md deleted file mode 100644 index aa13a254..00000000 --- a/commands/search-replace/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/search-replace/ ---- \ No newline at end of file diff --git a/commands/server/index.md b/commands/server/index.md deleted file mode 100644 index 72286e3b..00000000 --- a/commands/server/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/server/ ---- \ No newline at end of file diff --git a/commands/shell/index.md b/commands/shell/index.md deleted file mode 100644 index 2891bd1b..00000000 --- a/commands/shell/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/shell/ ---- \ No newline at end of file diff --git a/commands/sidebar/index.md b/commands/sidebar/index.md deleted file mode 100644 index 404346c8..00000000 --- a/commands/sidebar/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/sidebar/ ---- \ No newline at end of file diff --git a/commands/sidebar/list/index.md b/commands/sidebar/list/index.md deleted file mode 100644 index fc8ce0f8..00000000 --- a/commands/sidebar/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/sidebar/list/ ---- \ No newline at end of file diff --git a/commands/site/activate/index.md b/commands/site/activate/index.md deleted file mode 100644 index 4191d9d7..00000000 --- a/commands/site/activate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/activate/ ---- \ No newline at end of file diff --git a/commands/site/archive/index.md b/commands/site/archive/index.md deleted file mode 100644 index 9260e815..00000000 --- a/commands/site/archive/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/archive/ ---- \ No newline at end of file diff --git a/commands/site/create/index.md b/commands/site/create/index.md deleted file mode 100644 index 3502b1a0..00000000 --- a/commands/site/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/create/ ---- \ No newline at end of file diff --git a/commands/site/deactivate/index.md b/commands/site/deactivate/index.md deleted file mode 100644 index 868cde0a..00000000 --- a/commands/site/deactivate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/deactivate/ ---- \ No newline at end of file diff --git a/commands/site/delete/index.md b/commands/site/delete/index.md deleted file mode 100644 index 312f171c..00000000 --- a/commands/site/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/delete/ ---- \ No newline at end of file diff --git a/commands/site/empty/index.md b/commands/site/empty/index.md deleted file mode 100644 index 3017c434..00000000 --- a/commands/site/empty/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/empty/ ---- \ No newline at end of file diff --git a/commands/site/index.md b/commands/site/index.md deleted file mode 100644 index 39ca96ed..00000000 --- a/commands/site/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/ ---- \ No newline at end of file diff --git a/commands/site/list/index.md b/commands/site/list/index.md deleted file mode 100644 index 821357c8..00000000 --- a/commands/site/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/list/ ---- \ No newline at end of file diff --git a/commands/site/option/add/index.md b/commands/site/option/add/index.md deleted file mode 100644 index e41ddbf6..00000000 --- a/commands/site/option/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/add/ ---- \ No newline at end of file diff --git a/commands/site/option/delete/index.md b/commands/site/option/delete/index.md deleted file mode 100644 index 2907d7bd..00000000 --- a/commands/site/option/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/delete/ ---- \ No newline at end of file diff --git a/commands/site/option/get/index.md b/commands/site/option/get/index.md deleted file mode 100644 index e444530c..00000000 --- a/commands/site/option/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/get/ ---- \ No newline at end of file diff --git a/commands/site/option/index.md b/commands/site/option/index.md deleted file mode 100644 index ed1a6966..00000000 --- a/commands/site/option/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/ ---- \ No newline at end of file diff --git a/commands/site/option/list/index.md b/commands/site/option/list/index.md deleted file mode 100644 index d206e838..00000000 --- a/commands/site/option/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/list/ ---- \ No newline at end of file diff --git a/commands/site/option/update/index.md b/commands/site/option/update/index.md deleted file mode 100644 index c0733251..00000000 --- a/commands/site/option/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/option/update/ ---- \ No newline at end of file diff --git a/commands/site/spam/index.md b/commands/site/spam/index.md deleted file mode 100644 index 20785019..00000000 --- a/commands/site/spam/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/spam/ ---- \ No newline at end of file diff --git a/commands/site/unarchive/index.md b/commands/site/unarchive/index.md deleted file mode 100644 index e328a315..00000000 --- a/commands/site/unarchive/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/unarchive/ ---- \ No newline at end of file diff --git a/commands/site/unspam/index.md b/commands/site/unspam/index.md deleted file mode 100644 index a1631b11..00000000 --- a/commands/site/unspam/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/site/unspam/ ---- \ No newline at end of file diff --git a/commands/super-admin/add/index.md b/commands/super-admin/add/index.md deleted file mode 100644 index edc0f3a7..00000000 --- a/commands/super-admin/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/super-admin/add/ ---- \ No newline at end of file diff --git a/commands/super-admin/index.md b/commands/super-admin/index.md deleted file mode 100644 index 63edbde6..00000000 --- a/commands/super-admin/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/super-admin/ ---- \ No newline at end of file diff --git a/commands/super-admin/list/index.md b/commands/super-admin/list/index.md deleted file mode 100644 index 449605c7..00000000 --- a/commands/super-admin/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/super-admin/list/ ---- \ No newline at end of file diff --git a/commands/super-admin/remove/index.md b/commands/super-admin/remove/index.md deleted file mode 100644 index 7025bc76..00000000 --- a/commands/super-admin/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/super-admin/remove/ ---- \ No newline at end of file diff --git a/commands/taxonomy/get/index.md b/commands/taxonomy/get/index.md deleted file mode 100644 index 8dd49989..00000000 --- a/commands/taxonomy/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/taxonomy/get/ ---- \ No newline at end of file diff --git a/commands/taxonomy/index.md b/commands/taxonomy/index.md deleted file mode 100644 index e7f6f919..00000000 --- a/commands/taxonomy/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/taxonomy/ ---- \ No newline at end of file diff --git a/commands/taxonomy/list/index.md b/commands/taxonomy/list/index.md deleted file mode 100644 index 9faefe28..00000000 --- a/commands/taxonomy/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/taxonomy/list/ ---- \ No newline at end of file diff --git a/commands/term/create/index.md b/commands/term/create/index.md deleted file mode 100644 index 2319bb7f..00000000 --- a/commands/term/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/create/ ---- \ No newline at end of file diff --git a/commands/term/delete/index.md b/commands/term/delete/index.md deleted file mode 100644 index 93ae4ba6..00000000 --- a/commands/term/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/delete/ ---- \ No newline at end of file diff --git a/commands/term/generate/index.md b/commands/term/generate/index.md deleted file mode 100644 index 7723ec5e..00000000 --- a/commands/term/generate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/generate/ ---- \ No newline at end of file diff --git a/commands/term/get/index.md b/commands/term/get/index.md deleted file mode 100644 index add6a239..00000000 --- a/commands/term/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/get/ ---- \ No newline at end of file diff --git a/commands/term/index.md b/commands/term/index.md deleted file mode 100644 index e08cc23f..00000000 --- a/commands/term/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/ ---- \ No newline at end of file diff --git a/commands/term/list/index.md b/commands/term/list/index.md deleted file mode 100644 index fbe67e3e..00000000 --- a/commands/term/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/list/ ---- \ No newline at end of file diff --git a/commands/term/meta/add/index.md b/commands/term/meta/add/index.md deleted file mode 100644 index 98972be8..00000000 --- a/commands/term/meta/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/add/ ---- \ No newline at end of file diff --git a/commands/term/meta/delete/index.md b/commands/term/meta/delete/index.md deleted file mode 100644 index adea46b5..00000000 --- a/commands/term/meta/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/delete/ ---- \ No newline at end of file diff --git a/commands/term/meta/get/index.md b/commands/term/meta/get/index.md deleted file mode 100644 index c774b038..00000000 --- a/commands/term/meta/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/get/ ---- \ No newline at end of file diff --git a/commands/term/meta/index.md b/commands/term/meta/index.md deleted file mode 100644 index c71a250d..00000000 --- a/commands/term/meta/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/ ---- \ No newline at end of file diff --git a/commands/term/meta/list/index.md b/commands/term/meta/list/index.md deleted file mode 100644 index 1f3f1028..00000000 --- a/commands/term/meta/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/list/ ---- \ No newline at end of file diff --git a/commands/term/meta/update/index.md b/commands/term/meta/update/index.md deleted file mode 100644 index a47bd2c6..00000000 --- a/commands/term/meta/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/meta/update/ ---- \ No newline at end of file diff --git a/commands/term/recount/index.md b/commands/term/recount/index.md deleted file mode 100644 index 23f0263c..00000000 --- a/commands/term/recount/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/recount/ ---- \ No newline at end of file diff --git a/commands/term/update/index.md b/commands/term/update/index.md deleted file mode 100644 index 7ee8473d..00000000 --- a/commands/term/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/term/update/ ---- \ No newline at end of file diff --git a/commands/theme/activate/index.md b/commands/theme/activate/index.md deleted file mode 100644 index 70d50b6f..00000000 --- a/commands/theme/activate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/activate/ ---- \ No newline at end of file diff --git a/commands/theme/delete/index.md b/commands/theme/delete/index.md deleted file mode 100644 index 2f9954a9..00000000 --- a/commands/theme/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/delete/ ---- \ No newline at end of file diff --git a/commands/theme/disable/index.md b/commands/theme/disable/index.md deleted file mode 100644 index b312bbee..00000000 --- a/commands/theme/disable/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/disable/ ---- \ No newline at end of file diff --git a/commands/theme/enable/index.md b/commands/theme/enable/index.md deleted file mode 100644 index ebed834c..00000000 --- a/commands/theme/enable/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/enable/ ---- \ No newline at end of file diff --git a/commands/theme/get/index.md b/commands/theme/get/index.md deleted file mode 100644 index cf178449..00000000 --- a/commands/theme/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/get/ ---- \ No newline at end of file diff --git a/commands/theme/index.md b/commands/theme/index.md deleted file mode 100644 index 8d5c6d76..00000000 --- a/commands/theme/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/ ---- \ No newline at end of file diff --git a/commands/theme/install/index.md b/commands/theme/install/index.md deleted file mode 100644 index c8fe8318..00000000 --- a/commands/theme/install/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/install/ ---- \ No newline at end of file diff --git a/commands/theme/is-installed/index.md b/commands/theme/is-installed/index.md deleted file mode 100644 index a846bace..00000000 --- a/commands/theme/is-installed/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/is-installed/ ---- \ No newline at end of file diff --git a/commands/theme/list/index.md b/commands/theme/list/index.md deleted file mode 100644 index 94f386fc..00000000 --- a/commands/theme/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/list/ ---- \ No newline at end of file diff --git a/commands/theme/mod/get/index.md b/commands/theme/mod/get/index.md deleted file mode 100644 index b6ca8909..00000000 --- a/commands/theme/mod/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/mod/get/ ---- \ No newline at end of file diff --git a/commands/theme/mod/index.md b/commands/theme/mod/index.md deleted file mode 100644 index af7293b5..00000000 --- a/commands/theme/mod/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/mod/ ---- \ No newline at end of file diff --git a/commands/theme/mod/remove/index.md b/commands/theme/mod/remove/index.md deleted file mode 100644 index 7a7382e7..00000000 --- a/commands/theme/mod/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/mod/remove/ ---- \ No newline at end of file diff --git a/commands/theme/mod/set/index.md b/commands/theme/mod/set/index.md deleted file mode 100644 index 802367dd..00000000 --- a/commands/theme/mod/set/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/mod/set/ ---- \ No newline at end of file diff --git a/commands/theme/path/index.md b/commands/theme/path/index.md deleted file mode 100644 index 33cefc57..00000000 --- a/commands/theme/path/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/path/ ---- \ No newline at end of file diff --git a/commands/theme/search/index.md b/commands/theme/search/index.md deleted file mode 100644 index 727c8ba2..00000000 --- a/commands/theme/search/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/search/ ---- \ No newline at end of file diff --git a/commands/theme/status/index.md b/commands/theme/status/index.md deleted file mode 100644 index 3af22e0e..00000000 --- a/commands/theme/status/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/status/ ---- \ No newline at end of file diff --git a/commands/theme/update-all/index.md b/commands/theme/update-all/index.md deleted file mode 100644 index d76844ef..00000000 --- a/commands/theme/update-all/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/update-all/ ---- \ No newline at end of file diff --git a/commands/theme/update/index.md b/commands/theme/update/index.md deleted file mode 100644 index 8146d0cd..00000000 --- a/commands/theme/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/theme/update/ ---- \ No newline at end of file diff --git a/commands/transient/delete/index.md b/commands/transient/delete/index.md deleted file mode 100644 index d938d89c..00000000 --- a/commands/transient/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/transient/delete/ ---- \ No newline at end of file diff --git a/commands/transient/get/index.md b/commands/transient/get/index.md deleted file mode 100644 index 8a0c8a80..00000000 --- a/commands/transient/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/transient/get/ ---- \ No newline at end of file diff --git a/commands/transient/index.md b/commands/transient/index.md deleted file mode 100644 index 95839b6d..00000000 --- a/commands/transient/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/transient/ ---- \ No newline at end of file diff --git a/commands/transient/set/index.md b/commands/transient/set/index.md deleted file mode 100644 index e8131ad5..00000000 --- a/commands/transient/set/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/transient/set/ ---- \ No newline at end of file diff --git a/commands/transient/type/index.md b/commands/transient/type/index.md deleted file mode 100644 index 9914fb9e..00000000 --- a/commands/transient/type/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/transient/type/ ---- \ No newline at end of file diff --git a/commands/user/add-cap/index.md b/commands/user/add-cap/index.md deleted file mode 100644 index da5f3867..00000000 --- a/commands/user/add-cap/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/add-cap/ ---- \ No newline at end of file diff --git a/commands/user/add-role/index.md b/commands/user/add-role/index.md deleted file mode 100644 index 36ade048..00000000 --- a/commands/user/add-role/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/add-role/ ---- \ No newline at end of file diff --git a/commands/user/create/index.md b/commands/user/create/index.md deleted file mode 100644 index 7dbd1471..00000000 --- a/commands/user/create/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/create/ ---- \ No newline at end of file diff --git a/commands/user/delete/index.md b/commands/user/delete/index.md deleted file mode 100644 index 806726e1..00000000 --- a/commands/user/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/delete/ ---- \ No newline at end of file diff --git a/commands/user/generate/index.md b/commands/user/generate/index.md deleted file mode 100644 index 947db510..00000000 --- a/commands/user/generate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/generate/ ---- \ No newline at end of file diff --git a/commands/user/get/index.md b/commands/user/get/index.md deleted file mode 100644 index 00539b88..00000000 --- a/commands/user/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/get/ ---- \ No newline at end of file diff --git a/commands/user/import-csv/index.md b/commands/user/import-csv/index.md deleted file mode 100644 index 49624d39..00000000 --- a/commands/user/import-csv/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/import-csv/ ---- \ No newline at end of file diff --git a/commands/user/index.md b/commands/user/index.md deleted file mode 100644 index 4a796672..00000000 --- a/commands/user/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/ ---- \ No newline at end of file diff --git a/commands/user/list-caps/index.md b/commands/user/list-caps/index.md deleted file mode 100644 index 26e8b1d2..00000000 --- a/commands/user/list-caps/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/list-caps/ ---- \ No newline at end of file diff --git a/commands/user/list/index.md b/commands/user/list/index.md deleted file mode 100644 index cf171af0..00000000 --- a/commands/user/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/list/ ---- \ No newline at end of file diff --git a/commands/user/meta/add/index.md b/commands/user/meta/add/index.md deleted file mode 100644 index fd972561..00000000 --- a/commands/user/meta/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/add/ ---- \ No newline at end of file diff --git a/commands/user/meta/delete/index.md b/commands/user/meta/delete/index.md deleted file mode 100644 index e6577e1b..00000000 --- a/commands/user/meta/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/delete/ ---- \ No newline at end of file diff --git a/commands/user/meta/get/index.md b/commands/user/meta/get/index.md deleted file mode 100644 index 4529e883..00000000 --- a/commands/user/meta/get/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/get/ ---- \ No newline at end of file diff --git a/commands/user/meta/index.md b/commands/user/meta/index.md deleted file mode 100644 index 3998b2d0..00000000 --- a/commands/user/meta/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/ ---- \ No newline at end of file diff --git a/commands/user/meta/list/index.md b/commands/user/meta/list/index.md deleted file mode 100644 index 4191b53a..00000000 --- a/commands/user/meta/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/list/ ---- \ No newline at end of file diff --git a/commands/user/meta/update/index.md b/commands/user/meta/update/index.md deleted file mode 100644 index 35533144..00000000 --- a/commands/user/meta/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/meta/update/ ---- \ No newline at end of file diff --git a/commands/user/remove-cap/index.md b/commands/user/remove-cap/index.md deleted file mode 100644 index ab1faead..00000000 --- a/commands/user/remove-cap/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/remove-cap/ ---- \ No newline at end of file diff --git a/commands/user/remove-role/index.md b/commands/user/remove-role/index.md deleted file mode 100644 index e5e03675..00000000 --- a/commands/user/remove-role/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/remove-role/ ---- \ No newline at end of file diff --git a/commands/user/session/destroy/index.md b/commands/user/session/destroy/index.md deleted file mode 100644 index e9b02858..00000000 --- a/commands/user/session/destroy/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/session/destroy/ ---- \ No newline at end of file diff --git a/commands/user/session/index.md b/commands/user/session/index.md deleted file mode 100644 index 042918fb..00000000 --- a/commands/user/session/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/session/ ---- \ No newline at end of file diff --git a/commands/user/session/list/index.md b/commands/user/session/list/index.md deleted file mode 100644 index cf3718a7..00000000 --- a/commands/user/session/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/session/list/ ---- \ No newline at end of file diff --git a/commands/user/set-role/index.md b/commands/user/set-role/index.md deleted file mode 100644 index 91ae263c..00000000 --- a/commands/user/set-role/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/set-role/ ---- \ No newline at end of file diff --git a/commands/user/term/add/index.md b/commands/user/term/add/index.md deleted file mode 100644 index 2d30ee79..00000000 --- a/commands/user/term/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/term/add/ ---- \ No newline at end of file diff --git a/commands/user/term/index.md b/commands/user/term/index.md deleted file mode 100644 index 475e9bfb..00000000 --- a/commands/user/term/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/term/ ---- \ No newline at end of file diff --git a/commands/user/term/list/index.md b/commands/user/term/list/index.md deleted file mode 100644 index 478e0df0..00000000 --- a/commands/user/term/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/term/list/ ---- \ No newline at end of file diff --git a/commands/user/term/remove/index.md b/commands/user/term/remove/index.md deleted file mode 100644 index eea3816c..00000000 --- a/commands/user/term/remove/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/term/remove/ ---- \ No newline at end of file diff --git a/commands/user/term/set/index.md b/commands/user/term/set/index.md deleted file mode 100644 index 6071bdac..00000000 --- a/commands/user/term/set/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/term/set/ ---- \ No newline at end of file diff --git a/commands/user/update/index.md b/commands/user/update/index.md deleted file mode 100644 index 5bacc5d5..00000000 --- a/commands/user/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/user/update/ ---- \ No newline at end of file diff --git a/commands/widget/add/index.md b/commands/widget/add/index.md deleted file mode 100644 index 6ba31d44..00000000 --- a/commands/widget/add/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/add/ ---- \ No newline at end of file diff --git a/commands/widget/deactivate/index.md b/commands/widget/deactivate/index.md deleted file mode 100644 index 6e100687..00000000 --- a/commands/widget/deactivate/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/deactivate/ ---- \ No newline at end of file diff --git a/commands/widget/delete/index.md b/commands/widget/delete/index.md deleted file mode 100644 index 150dbfbf..00000000 --- a/commands/widget/delete/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/delete/ ---- \ No newline at end of file diff --git a/commands/widget/index.md b/commands/widget/index.md deleted file mode 100644 index dc0c96f4..00000000 --- a/commands/widget/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/ ---- \ No newline at end of file diff --git a/commands/widget/list/index.md b/commands/widget/list/index.md deleted file mode 100644 index de12b972..00000000 --- a/commands/widget/list/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/list/ ---- \ No newline at end of file diff --git a/commands/widget/move/index.md b/commands/widget/move/index.md deleted file mode 100644 index 54233007..00000000 --- a/commands/widget/move/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/move/ ---- \ No newline at end of file diff --git a/commands/widget/reset/index.md b/commands/widget/reset/index.md deleted file mode 100644 index afd346fd..00000000 --- a/commands/widget/reset/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/reset/ ---- \ No newline at end of file diff --git a/commands/widget/update/index.md b/commands/widget/update/index.md deleted file mode 100644 index 5ec3a1df..00000000 --- a/commands/widget/update/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://developer.wordpress.org/cli/commands/widget/update/ ---- \ No newline at end of file diff --git a/de/index.md b/de/index.md index 0e845141..ab63dbe0 100644 --- a/de/index.md +++ b/de/index.md @@ -1,173 +1,124 @@ -WP-CLI -====== - -[WP-CLI](https://wp-cli.org/) ist das Kommandozeilen-Werkzeug für [WordPress](https://de.wordpress.org/). Du kannst Plugins aktualisieren, Multisite-Installationen konfigurieren und vieles mehr, ohne einen Browser zu benutzen. - -Die laufende Pflege wird ermöglicht durch: - -
- - Automattic - - - Bluehost - - - Pantheon - - - SiteGround - - - WP Engine - - - Cloudways - -
- -Das aktuelle stabile Release ist [Version 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/) (engl.). Folge für Ankündigungen [@wpcli auf Twitter](https://twitter.com/wpcli) oder [registriere dich für Aktualisierungen per E-Mail](https://make.wordpress.org/cli/subscribe/) (engl.). [Sieh dir die Roadmap an](https://make.wordpress.org/cli/handbook/roadmap/) (engl.), um einen Überblick zu erhalten, was in zukünftigen Releases geplant ist. - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Durchschnittliche Zeit, bis ein Problem behoben wurde](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Durchschnittliche Zeit, bis ein Problem behoben wurde") [![Prozentuale Anzahl an offenen Problemen](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Prozentuale Anzahl an offenen Problemen") +--- +layout: default +title: Kommandozeilen-Interface für WordPress +--- + +[WP-CLI](https://wp-cli.org/) ist eine Sammlung von Kommandozeilen-Tools zur Verwaltung von [WordPress](https://wordpress.org/) Installationen. Du kannst Plugins aktualisieren, Multisite Installationen konfigurieren und vieles mehr, ohne einen Browser zu verwenden. + +Um stets auf dem Laufenden zu bleiben, folge [@wpcli auf Twitter](https://twitter.com/wpcli) oder [abonniere den Newsletter](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). + +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Abhängigkeiten Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Durchschnittliche Zeit bis zur Lösung eines Issues](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Durchschnittliche Zeit bis zur Lösung eines Issues") [![Prozentsatz noch offener Issues](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Prozentsatz noch offener Issues") Quick links: [Benutzung](#benutzung) | [Installation](#installation) | [Support](#support) | [Erweitern](#erweitern) | [Mitwirken](#mitwirken) | [Credits](#credits) ## Benutzung -WP-CLI bietet eine Kommandozeilen-Benutzeroberfläche für viele Aktionen, die du eigentlich im WordPress-Administrationsbereich durchführst. `wp plugin install --activate` ([Dok.](https://developer.wordpress.org/cli/commands/plugin/install/)) lässt dich beispielsweise ein WordPress-Plugin installieren und aktivieren: +Das Ziel von WP-CLI ist es, für jede Aktion ein Kommandozeilen-Interface zur Verfügung zu stellen, die man auch über den Adminbereich ausführen kann. Mit `wp plugin install --activate` ([doc](https://wp-cli.org/commands/plugin/install/)) kann man zum Beispiel ein WordPress Plugin installieren und aktivieren: ```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... +$ wp plugin install rest-api --activate +Installing WordPress REST API (Version 2) (2.0-beta13) +Downloading install package from https://downloads.wordpress.org/plugin/rest-api.2.0-beta13.zip... Unpacking the package... Installing the plugin... Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. +Activating 'rest-api'... +Success: Plugin 'rest-api' activated. ``` -WP-CLI enthält auch Befehle für viele Dinge, die du im WordPress-Administrationsbereich nicht tun kannst. Mit `wp transient delete-all` ([Dok.](https://developer.wordpress.org/cli/commands/transient/delete/)) kannst du beispielsweise bestimmte oder alle Transients löschen: +WP-CLI enthält auch Befehle für viele Dinge, die man im Adminbereich nicht tun kann. Mit `wp transient delete-all` ([doc](https://wp-cli.org/commands/transient/delete-all/)) kannst du z.B. bestimmte oder alle Transients löschen: ```bash -$ wp transient delete --all +$ wp transient delete-all Success: 34 transients deleted from the database. ``` -Für eine umfassendere Einführung in die Benutzung von WP-CLI, lies am besten die [Schnellstartanleitung](https://make.wordpress.org/cli/handbook/quick-start/) (engl.), oder sieh dir [Shell-Freunde](https://make.wordpress.org/cli/handbook/shell-friends/) (engl.) an, um mehr über die Kommandozeilen-Helferlein zu erfahren. +Für eine umfassendere Einführung in die Benutzung von WP-CLI, lies am besten den [Quick Start guide](https://wp-cli.org/docs/quick-start/). -Bereits genug von den Basics? Sieh dir die [komplette Liste an Befehlen](https://developer.wordpress.org/cli/commands/) (engl.) für detailliertere Informationen zur Verwaltung von Themes und Plugins, Datenimport und -export, Suchen/Ersetzen-Operationen in der Datenbank und mehr an. +Bereits genug von den Basics? Sieh dir die [komplette Liste an Befehlen](https://wp-cli.org/commands/) an für detailliertere Informationen zur Verwaltung von Themes und Plugins, Datenimport und -export, Suchen/Ersetzen-Operationen in der Datenbank und mehr. ## Installation -Das Herunterladen der Phar Datei ist unsere empfohlene Installationsweise. Falls nötig, gibt es auch eine Dokumentation zu [alternativen Installationsmethoden](https://make.wordpress.org/cli/handbook/installing/) (engl.) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer) (engl.), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew) (engl.), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker) (engl.)). +Das Herunterladen der Phar Datei ist unsere empfohlene Installationsweise. Falls nötig, gibt es auch eine Dokumentation zu [alternativen Installationsmethoden](https://wp-cli.org/docs/installing/). Bevor du WP-CLI installierst, stell bitte sicher, dass dein System die Mindestanforderungen erfüllt: - UNIX-ähnliche Umgebung (OS X, Linux, FreeBSD, Cygwin); eingeschränkter Support in Windows-Umgebungen -- PHP 5.6 oder neuer -- WordPress 3.7 oder neuer. Ältere Versionen als das aktuelle WordPress-Release haben funktionelle Einschränkungen +- PHP 5.3.29 oder höher +- WordPress 3.7 oder höher -Sobald du die Mindestanforderungen geprüft hast, lade die [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar)-Datei mittels `wget` oder `curl` herunter: +Sobald du die Mindestanforderungen geprüft hast, lade die [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) Datei mittels `wget` oder `curl` herunter: ```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar +$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar ``` -Prüfe als nächstes, ob die Phar-Datei funktioniert: +Prüfe als nächstes, ob es funktioniert: ```bash -php wp-cli.phar --info +$ php wp-cli.phar --info ``` -Um WP-CLI auf der Kommandozeile durch blosses Eintippen von `wp` zu benutzen, mach die Datei ausführbar und verschiebe sie irgendwo hin innerhalb deines PATH. Zum Beispiel: +Um WP-CLI auf der Kommandozeile durch blosses Tippen von `wp` zu nutzen, mache die Datei ausführbar und verschiebe es irgendwo hin innerhalb deines PATH. Zum Beispiel: ```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp +$ chmod +x wp-cli.phar +$ sudo mv wp-cli.phar /usr/local/bin/wp ``` Wenn WP-CLI erfolgreich installiert wurde, solltest du bei der Ausführung von `wp --info` etwas wie hier sehen: ```bash $ wp --info -OS: Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php8.1 -PHP version: 8.1.0 -php.ini used: /etc/php/8.1/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.12.0 +WP-CLI global config: /home/wp-cli/.wp-cli/config.yml +WP-CLI project config: +WP-CLI version: 0.25.0 ``` ### Aktualisieren -Du kannst WP-CLI mittels `wp cli update` ([Dok.](https://developer.wordpress.org/cli/commands/cli/update/) (engl.)) aktualisieren oder indem du die obigen Installationsschritte wiederholst. +Du kannst WP-CLI mittels `wp cli update` ([doc](https://wp-cli.org/commands/cli/update/)) aktualisieren oder indem du die obigen Installationsschritte wiederholst. -Wenn WP-CLI dem root-Benutzer oder einem anderen Systembenutzer gehört, musst du `sudo wp cli update` ausführen. - -Lebst du gerne gefährlich? Führe `wp cli update --nightly` aus, um den letzten Nightly Build von WP-CLI zu benutzen. Der Nightly Build ist mehr oder weniger stabil genug für die Nutzung in deiner Entwicklungsumgebung und enthält jeweils die neusten und besten Funktionen von WP-CLI. +Lebst du gerne gefährlich? Führe `wp cli update --nightly` aus um den aktuellsten Nightly Build von WP-CLI zu nutzen. Der Nightly Build ist mehr oder weniger stabil genug für die Nutzung in deiner Entwicklungsumgebung und enthält jeweils die neusten und besten Features von WP-CLI. ### Tab-Vervollständigung -Für WP-CLI gibt es auch ein Skript zur Autovervollständigung von Befehlen für Bash und ZSH. Lade einfach die [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) herunter und referenziere sie in der `~/.bash_profile`-Datei: +Für WP-CLI gibt es auch ein Skript zur Autovervollständigung von Befehlen für Bash und ZSH. Lade einfach [wp-completion.bash](https://github.com/wp-cli/wp-cli/raw/master/utils/wp-completion.bash) herunter und referenziere es in der `~/.bash_profile` Datei: ```bash -source /ABSOLUTER/PFAD/ZUR/wp-completion.bash +source /FULL/PATH/TO/wp-completion.bash ``` Vergiss nicht, danach `source ~/.bash_profile` auszuführen. -Wenn du zsh für deine Shell benutzt, musst du möglicherweise erst `bashcompinit` laden und starten, bevor du den `source`-Befehl nutzt. Füge das folgende in deine `.zshrc` ein: - -```bash -autoload bashcompinit -bashcompinit -source /ABSOLUTER/PFAD/ZUR/wp-completion.bash -``` - ## Support -Die Betreuer und Mitwirkenden hinter WP-CLI sind Freiwillige und haben nur begrenzt Zeit, um generelle Supportanfragen zu beantworten. Die [aktuelle Version von WP-CLI](https://make.wordpress.org/cli/handbook/roadmap/) (engl.) ist die einzig offizielle unterstützte Version. - -Prüfe zunächst, ob es bereits auf einer dieser Seiten eine Antwort auf deine Frage gibt: +Die Betreuer und Mitwirkenden hinter WP-CLI sind Freiwillige und haben nur begrenzt Zeit um generelle Supportanfragen zu beantworten. Prüfe zunächst, ob es bereits an einem dieser Orte eine Antwort auf deine Frage gibt: -- [Gängige Probleme und deren Lösungen](https://make.wordpress.org/cli/handbook/common-issues/) (engl.) -* [WP-CLI-Handbuch](https://make.wordpress.org/cli/handbook/) (engl.) -* [Offene oder geschlossene Probleme in der WP-CLI-GitHub-Organisation](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) (engl.) -* [Themen mit dem Tag 'WP-CLI' im WordPress.org-Supportforum](https://wordpress.org/support/topic-tag/wp-cli/) (engl.) -* [Fragen mit dem Tag 'WP-CLI' im WordPress-StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) (engl.) +- [Gängige Fehler und deren Lösungen](https://wp-cli.org/docs/common-issues/) +- [Best Practices beim Erstellen eines Bug Reports](https://wp-cli.org/docs/bug-reports/) +- [Dokumentationsportal](https://wp-cli.org/docs/) +- [Offene oder geschlossene Issues auf Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [WordPress StackExchange Foren](http://wordpress.stackexchange.com/questions/tagged/wp-cli) -Wenn du auf keiner dieser Seiten eine Antwort findest, kannst du folgendes tun: +Wenn du auf keiner dieser Seiten eine Antwort finden kannst, trete dem `#cli` Channel des [WordPress.org Slack Teams](https://make.wordpress.org/chat/) bei um zu sehen, ob ein Community-Mitglied dir weiterhelfen kann. Professionelle Benutzer können auch [runcommand](https://runcommand.io/) für Premium Support in Betracht ziehen. -* Tritt dem `#cli`-Kanal im [WordPress.org Slack](https://make.wordpress.org/chat/) (engl.) bei, um mit jemandem zu chatten, der gerade da ist. Das ist die beste Möglichkeit für kleine Fragen. -* [Erstelle ein neues Thema](https://wordpress.org/support/forum/wp-advanced/#new-post) (engl.) im WordPress.org-Supportforum und füge den Tag 'WP-CLI' hinzu, sodass die Community es sieht. +GitHub Issues sind nur für das Verwalten von Erweiterungen und Bugs existierender Befehle gedacht, nicht allgemeinen Support. Schau dir [unsere Best Practices](https://wp-cli.org/docs/bug-reports/) an, bevor du einen Bug meldest, damit dein Issue in angemessener Zeit bearbeitet werden kann. -GitHub Issues sind nur für das Verwalten von Erweiterungen und Bugs existierender Befehle gedacht, nicht für allgemeinen Support. Sieh dir [unsere Best Practices](https://make.wordpress.org/cli/handbook/bug-reports/) (engl.) an, bevor du einen Fehler meldest, damit dein Issue in angemessener Zeit bearbeitet werden kann. +Bitte stell keine Supportfragen auf Twitter. Twitter ist kein akzeptabler Ort für Support weil: 1) es ist schwierig Konversationen unter 140 Zeichen zu führen und 2) Twitter ist kein Ort, wo jemand mit der gleichen Frage frühere Antworten in einer Konversation finden kann. -Bitte stell keine Supportfragen auf Twitter. Twitter ist kein akzeptabler Ort für Support weil: 1) es ist schwierig Konversationen unter 280 Zeichen zu führen und 2) Twitter ist kein Ort, an dem jemand mit der gleichen Frage frühere Antworten in einer Konversation finden kann. - -Denk daran, frei != gratis. Die Open-Source-Lizenz garantiert dir die Freiheit zur Nutzung und Bearbeitung, aber nicht anderer Leute Zeit. Bitte sei respektvoll und setze deine Erwartungen dementsprechend. +Denk daran, frei != gratis. Die Open Source Lizenz garantiert dir die Freiheit zur Nutzung und Bearbeitung, aber nicht anderer Leute Zeit. Bitte sei respektvoll und setze deine Erwartungen dementsprechend. ## Erweitern -Ein **Befehl** ist die atomare Einheit der WP-CLI Funktionalität. `wp plugin install` ([Dok.](https://developer.wordpress.org/cli/commands/plugin/install/) (engl.)) ist ein Befehl. `wp plugin activate` ([Dok.](https://developer.wordpress.org/cli/commands/plugin/activate/) (engl.)) ist ein anderer. +Ein **Befehl** ist die atomare Einheit der WP-CLI Funktionalität. `wp plugin install` ([doc](https://wp-cli.org/commands/plugin/install/)) ist ein solcher Befehl. `wp plugin activate` ([doc](https://wp-cli.org/commands/plugin/activate/)) ein anderer. -WP-CLI unterstützt das Registrieren jeder aufrufbaren Klasse, Funktion oder Closure als Befehl. Es liest die Informationen zur Nutzung aus der PHPdoc des Callbacks aus. `WP_CLI::add_command()` ([Dok.](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/) (engl.)) wird sowohl für die Registrierung interner als auch für Befehle von Dritten verwendet. +WP-CLI unterstützt das Registrieren jeder aufrufbaren Klasse, Funktion oder Closure als Befehl. Es liest die Informationen zur Nutzung aus der PHPdoc des Callbacks aus. `WP_CLI::add_command()` ([doc](https://wp-cli.org/docs/internal-api/wp-cli-add-command/)) wird sowohl für die Registration interner Befehle als auch für Befehle von Dritten verwendet. ```php /** @@ -197,32 +148,36 @@ $delete_option_cmd = function( $args ) { WP_CLI::add_command( 'option delete', $delete_option_cmd ); ``` -WP-CLI enthält Dutzende Befehle. Es ist auch einfacher, als es aussieht, eigene Befehle zu erstellen. Lies dazu das [Befehle-Kochbuch](https://make.wordpress.org/cli/handbook/commands-cookbook/) (engl.), um mehr zu erfahren. Stöbere in der [internen API-Dokumentation](https://make.wordpress.org/cli/handbook/internal-api/) (engl.), um eine Vielzahl hilfreicher Funktionen zu entdecken, die du in deinem eigenen WP-CLI Befehl benutzen kannst. +WP-CLI enthält Dutzende Befehle. Es ist auch sehr einfach eigene Befehle zu erstellen. Lies dazu das [Commands Cookbook](https://wp-cli.org/docs/commands-cookbook/) um mehr zu erfahren. Stöbere in der [internen API-Dokumentation](https://wp-cli.org/docs/internal-api/) um eine Vielzahl hilfreicher Funktionen zu entdecken, welche du in deinem eigenen WP-CLI Befehl nutzen kannst. ## Mitwirken -Wir schätzen es sehr, dass du interessiert bist, an WP-CLI mitzuwirken. Nur wegen dir und der Community um dich herum ist WP-CLI so ein tolles Projekt. +Willkommen und danke! + +Wir schätzen es sehr, dass du interessiert bist an WP-CLI mitzuwirken. Nur wegen dir und der Community um dich herum ist WP-CLI so ein tolles Projekt. -**Mitwirken beschränkt sich nicht nur auf’s Programmieren.** Wir möchten dich dazu ermutigen, das beizutragen, was du am besten kannst. Sei es durch das Schreiben von Tutorials, das Vorstellen von WP-CLI bei einem lokalen Meetup, anderen Nutzern bei ihren Supportfragen zu helfen oder unsere Dokumentation zu pflegen. +**Mitwirken beschränkt sich nicht nur aufs Programmieren.** Wir möchten dich dazu ermutigen, das beizutragen, was du am besten kannst. Sei es durch das Schreiben von Tutorials, das Vorstellen von WP-CLI an einem lokalen Meetup, anderen Nutzern bei ihren Supportfragen zu helfen oder unsere Dokumentation zu pflegen. -Lies unsere [Guidelines im Handbuch](https://make.wordpress.org/cli/handbook/contributing/) (engl.), um eine Einführung zu bekommen, wie du mitwirken kannst. Das Einhalten dieser Guidelines zeigt, dass du die Zeit respektierst, die andere in dieses Projekt investieren. Im Gegensatz werden andere Betreuer rund um den Globus diesen Respekt erwidern. +Nimm dir bitte einen Moment Zeit um [unsere Guidelines in Ruhe durchzulesen](https://wp-cli.org/docs/contributing/). Das Einhalten dieser Guidelines zeigt, dass du die Zeit respektierst, welche andere in dieses Projekt investieren. Im Gegensatz werden andere Betreuer rund um den Globus diesen Respekt erwidern. ## Projektleitung -WP-CLI hat einen Projektbetreuer: [schlessera](https://github.com/schlessera) (engl.). +WP-CLI wird von folgenden Personen geleitet: -Gelegentlich [vergeben wir Schreibzugriff an Mitwirkende](https://make.wordpress.org/cli/handbook/committers-credo/), die über längere Zeit gezeigt haben, dass sie in der Lage sind, in das Projekt zu investieren und es voranzubringen. +* [Daniel Bachhuber](https://github.com/danielbachhuber/) - aktueller Betreuer +* [Cristi Burcă](https://github.com/scribu) - vorheriger Betreuer +* [Andreas Creten](https://github.com/andreascreten) - Gründer -Lies dir das [Verwaltungsdokument im Handbuch](https://make.wordpress.org/cli/handbook/governance/) (engl.) für mehr operative Informationen bezüglich dieses Projekts durch. +Lies mehr über die [Projektstruktur](https://wp-cli.org/docs/governance/) und schau dir die [komplette Liste von Mitwirkenden](https://github.com/wp-cli/wp-cli/contributors) an. ## Credits -Neben den Bibliotheken, die in der [composer.json](composer.json)-Datei erwähnt werden, benutzen wir Code oder Ideen von folgenden Projekten: +Neben den Bibliotheken, die in der [composer.json](composer.json) Datei erwähnt werden, nutzen wir Code oder Ideen von folgenden Projekten: -* [Drush](https://github.com/drush-ops/drush) (engl.) für… viele Dinge -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) (engl.) für `wp shell` -* [Regenerate Thumbnails](https://de.wordpress.org/plugins/regenerate-thumbnails/) für `wp media regenerate` -* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) (engl.) für `wp search-replace` -* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) (engl.) für `wp export` -* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) (engl.) für `wp import` -* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) (engl.) für `wp scaffold plugin-tests` +* [Drush](http://drush.ws/) für... viele Dinge +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) für `wp shell` +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) für `wp media regenerate` +* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) für `wp search-replace` +* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) für `wp export` +* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) für `wp import` +* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) für `wp scaffold plugin-tests` diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 34f08659..00000000 --- a/docs/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -redirect_to: - - https://make.wordpress.org/cli/handbook/ ---- diff --git a/es/index.md b/es/index.md deleted file mode 100644 index 67bcc591..00000000 --- a/es/index.md +++ /dev/null @@ -1,212 +0,0 @@ ---- -layout: default -title: Interfaz de línea de comandos para WordPress -direction: ltr ---- - -[WP-CLI](https://wp-cli.org/) es la interfaz de línea de comandos para [WordPress](https://es.wordpress.org/). Puedes actualizar plugins, configurar instalaciones multisitio y mucho más, sin usar un navegador web. - -El mantenimiento continuo es posible gracias a: - - - - - - - - -La versión estable actual es la [2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). Para estar al día, sigue [@wpcli en Twitter](https://twitter.com/wpcli) o [regístrate para recibir actualizaciones por correo electrónico](https://make.wordpress.org/cli/subscribe/). [Consulta la hoja de ruta](https://make.wordpress.org/cli/handbook/roadmap/) para una visión general de lo que está planeado para las próximas versiones. - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") - -Enlaces rápidos: [Uso](#uso) | [Instalación](#instalación) | [Soporte](#soporte) | [Extender](#extender) | [Contribuir](#contribuir) | [Créditos](#créditos) - -## Uso - -WP-CLI proporciona una interfaz de línea de comandos para muchas acciones que puedes realizar en el escritorio de WordPress. Por ejemplo, `wp plugin install --activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) te permite instalar y activar un plugin de WordPress: - -```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading install package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... -Unpacking the package... -Installing the plugin... -Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. -``` - -WP-CLI también incluye comandos para muchas cosas que no puedes hacer en el escritorio de WordPress. Por ejemplo, `wp transient delete --all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) te permite eliminar uno o todos los datos transitorios: - -```bash -$ wp transient delete --all -Success: 34 transients deleted from the database. -``` - -Para una introducción más completa para usar WP-CLI, lee la [guía de inicio rápido](https://make.wordpress.org/cli/handbook/quick-start/). O bien, ponte al día con los [*shell friends*](https://make.wordpress.org/cli/handbook/shell-friends/) para aprender acerca de las utilidades de línea de comandos. - -¿Ya te sientes cómodo con lo básico? Ve a la [lista completa de comandos](https://developer.wordpress.org/cli/commands/) para obtener información detallada sobre la gestión de temas y plugins, importación y exportación de datos, realización de operaciones de búsqueda y reemplazo de bases de datos, y más. - -## Instalación - -La descarga del archivo Phar es nuestro método de instalación recomendado para la mayoría de usuarios. Si lo necesitas, consulta también nuestra documentación acerca de [métodos de instalación alternativos](https://wp-cli.org/docs/installing/) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). - -Antes de instalar WP-CLI, asegúrate de que tu entorno cumple con los requisitos mínimos: - -- Entorno de tipo UNIX (OS X, Linux, FreeBSD, Cygwin); soporte limitado en el entorno de Windows -- PHP 5.6 o posterior -- WordPress 3.7 o posterior. Las versiones anteriores a la última versión de WordPress pueden tener funcionalidad degradada - -Una vez que hayas verificado los requisitos, descarga el archivo [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) usando `wget` o `curl` : - -```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -``` - -A continuación, comprueba el archivo Phar para verificar que está funcionando: - -```bash -php wp-cli.phar --info -``` - -Para usar WP-CLI desde la línea de comandos tecleando `wp`, haz que el archivo sea ejecutable y muévelo a algún lugar de tu `PATH`. Por ejemplo: - -```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp -``` - -Si WP-CLI se instaló correctamente, deberías ver algo como esto cuando ejecutas `wp --info`: - -```bash -$ wp --info -OS: Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php -PHP version: 8.0.5 -php.ini used: /etc/php/8.0/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.23-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: -WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.12.0 -``` - -### Actualización - -Puedes actualizar WP-CLI con `wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/)), o repitiendo los pasos de instalación. - -Si WP-CLI es propiedad de root u otro usuario del sistema, necesitarás ejecutar `sudo wp cli update`. - -¿Quieres vivir la vida al límite? Ejecuta `wp cli update --nightly` para usar la última compilación nocturna (nightly build) de WP-CLI. Una compilación nocturna es más o menos lo suficientemente estable como para que puedas utilizarla en tu entorno de desarrollo, y siempre incluye las últimas y mejores características de WP-CLI. - -### Autocompletar con el tabulador - -WP-CLI también viene con un scripts para autocompletar con el tabulador para Bash y ZSH. Tan sólo descarga [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) y usa el comando `source` desde `~/.bash_profile`: - -```bash -source /FULL/PATH/TO/wp-completion.bash -``` - -No te olvides de ejecutar `source ~/.bash_profile` después. - -Si usa la shell zsh, es posible que debas cargar e iniciar `bashcompinit` antes de usar el comando `source`. Pon lo siguiente en tu `.zshrc`: - -```bash -autoload bashcompinit -bashcompinit -source /RUTA/COMPLETA/HASTA/wp-completion.bash -``` - -## Soporte - -Tanto los que mantienen WP-CLI como sus colaboradores tienen disponibilidad limitada para responder preguntas generales de soporte. La [versión actual de WP-CLI](https://make.wordpress.org/cli/handbook/roadmap/) es la única versión oficialmente soportada. - -Cuando busques ayuda, primero busca tu pregunta en estos lugares: - -* [Problemas comunes y sus soluciones](https://make.wordpress.org/cli/handbook/common-issues/) -* [Manual de WP-CLI (Handbook)](https://make.wordpress.org/cli/handbook/) -* [*Issues* abiertos o cerrados en la organización de WP-CLI en GitHub](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* [Hilos etiquetados con «WP-CLI» en el foro de soporte de WordPress.org](https://wordpress.org/support/topic-tag/wp-cli/) -* [Preguntas etiquetadas con «WP-CLI» en WordPress Development Stack Exchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) - -Si no encontraste una respuesta en uno de los lugares anteriores, puedes: - -* Únirte al canal `#cli` en el [Slack de WordPress.org](https://make.wordpress.org/chat/) para chatear con quien esté disponible en ese momento. Esta opción es la mejor para preguntas rápidas. -* [Publicar un nuevo hilo](https://wordpress.org/support/forum/wp-advanced/#new-post) en el foro de soporte de WordPress.org y etiquetarlo como «WP-CLI» para que lo vea la comunidad. - -Los *issues* de GitHub están destinados al seguimiento de mejoras y errores de los comandos existentes, no para soporte general. Antes de enviar un informe de errores, por favor, [revisa nuestras mejores prácticas](https://make.wordpress.org/cli/handbook/bug-reports/) para ayudar a garantizar que tu *issue* se resuelva de manera oportuna. - -Por favor, no hagas preguntas de soporte en Twitter. Twitter no es un lugar aceptable para el soporte porque: 1) es difícil mantener conversaciones con menos de 280 caracteres, y 2) Twitter no es un lugar donde alguien con tu misma pregunta pueda buscar una respuesta en una conversación previa. - -Recuerda, libre != gratis; la licencia open source te da la libertad de usar y modificar, pero no a expensas del tiempo de otras personas. Por favor, se respetuoso y establece tus expectativas en consecuencia. - -## Extender - -Un **comando** es la unidad atómica de la funcionalidad de WP-CLI. `wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) es un comando. `wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) es otro. - -WP-CLI permite registrar cualquier clase, función o *closure* invocable como un comando. Este lee los detalles de uso del PHPdoc de la devolución de llamada. `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) se utiliza tanto para el registro de comandos internos como de terceros. - -```php -/** - * Delete an option from the database. - * - * Returns an error if the option didn't exist. - * - * ## OPTIONS - * - * - * : Key for the option. - * - * ## EXAMPLES - * - * $ wp option delete my_option - * Success: Deleted 'my_option' option. - */ -$delete_option_cmd = function( $args ) { - list( $key ) = $args; - - if ( ! delete_option( $key ) ) { - WP_CLI::error( "Could not delete '$key' option. Does it exist?" ); - } else { - WP_CLI::success( "Deleted '$key' option." ); - } -}; -WP_CLI::add_command( 'option delete', $delete_option_cmd ); -``` - -WP-CLI viene con docenas de comandos. Crear un comando personalizado para WP-CLI es más fácil de lo que parece. Lee el [libro de recetas de comandos](https://make.wordpress.org/cli/handbook/commands-cookbook/) para obtener más información. Explora los [documentos de la API interna](https://make.wordpress.org/cli/handbook/internal-api/) para descubrir una variedad de funciones útiles que puedes usar en su comando WP-CLI personalizado. - -## Contribuir - -Apreciamos que tomes la iniciativa de contribuir a WP-CLI. Es gracias a ti y la comunidad que lo rodea, que WP-CLI es un gran proyecto. - -**Contribuir no se limita únicamente al código.** Te animamos a contribuir de la forma que mejor se adapte a tus habilidades, escribiendo tutoriales, haciendo una demostraciones en tu meetup local, ayudando a los demás con sus preguntas de soporte, o revisando nuestra documentación. - -Lee atentamente nuestras [pautas de colaboración en el manual](https://make.wordpress.org/cli/handbook/contributing/) para una introducción completa sobre cómo puedes involucrarte. Seguir estas pautas ayuda a comunicar que respetas el tiempo de otros colaboradores en el proyecto. A su vez, ellos harán todo lo posible para corresponder a ese respeto cuando trabajen contigo, a través de diferentes zonas horarias alrededor del mundo. - -## Liderazgo - -WP-CLI tiene un encargado del mantenimiento del proyecto: [schlessera](https://github.com/schlessera). - -En ocasiones, [concedemos permisos de escritura a los colaboradores](https://make.wordpress.org/cli/handbook/committers-credo/) que han demostrado, durante un período de tiempo, que son capaces e invirtieron en avanzar el proyecto. - -Lee el [documento de gobernanza en el manual](https://make.wordpress.org/cli/handbook/governance/) para obtener más detalles operativos sobre el proyecto. - -## Créditos - -Además de las bibliotecas definidas en [composer.json](composer.json), hemos utilizado código o ideas de los siguientes proyectos: - -* [Drush](https://github.com/drush-ops/drush) para... un montón de cosas -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) para `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) para `wp media regenerate` -* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) para `wp search-replace` -* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) para `wp export` -* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) para `wp import` -* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) para `wp scaffold plugin-tests` diff --git a/fa/index.md b/fa/index.md deleted file mode 100644 index 3c551458..00000000 --- a/fa/index.md +++ /dev/null @@ -1,204 +0,0 @@ ---- -layout: default -title: Command line interface for WordPress -direction: rtl ---- - -[WP-CLI](https://wp-cli.org/) رابط خط فرمان برای [وردپرس](https://wordpress.org/) است. به‌روزرسانی افزونه‌ها، پیکربندی نصب چندسایته و چیزهای بیشتر را بدون استفاده از مرورگر وب انجام دهید. - -نگهداری مداوم توسط حامیان امکان پذیر شده است: - - - -نگارش پایدار فعلی [version 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/)است. برای پیگیری اعلانات، [@wpcli on Twitter](https://twitter.com/wpcli) را دنبال کنید یا [برای دریافت ایمیل ثبت‌نام کنید](https://make.wordpress.org/cli/subscribe/). برای بررسی برنامه‌ریزی‌های آینده انتشار [نقشه راه را برررسی کنید](https://make.wordpress.org/cli/handbook/roadmap/). - -[![وضعیت ساخت](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![زمان متوسط برای رفع مشکل](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "زمان متوسط برای رفع مشکل") [![درصد مشکلات باز](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "درصد مشکلات باز") - -پیوندهای سریع: [استفاده](#using) | [نصب](#installing) | [پشتیبانی](#support) | [گسترش](#extending) | [مشارکت](#contributing) | [همکاران](#credits) - -## استفاده - -WP-CLI یک رابط برپایه خط فرمان برای عملیاتی است که شما در محیط مدیریت وردپرس انجام می‌دهید. برای مثال `wp plugin install --activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) به شما امکان نصب و فعال‌سازی افزونه وردپرس را می‌دهد: - -```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... -Unpacking the package... -Installing the plugin... -Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. -``` - -WP-CLI همچنین حاوی دستوراتی برای بسیاری چیزهاست که نمی‌توانید در مدیریت وردپرس انجام دهید. برای مثال، `wp transient delete --all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) به شما امکان حذف یکی یا همه transients را می‌دهد: - -```bash -$ wp transient delete --all -Success: 34 transients deleted from the database. -``` - -برای پیش‌درآمد کامل استفاده از WP-CLI، [راهنمای سریع](https://make.wordpress.org/cli/handbook/quick-start/) را مطالعه کنید. یا، برای آموزش دستورات مفید خط فرمان [دوستان شل](https://make.wordpress.org/cli/handbook/shell-friends/) را مطالعه کنید. - -در مورد مدیریت پوسته‌ها و افزونه‌ها، درون‌ریزی و برون‌بری، جستجو و جایگزینی در پایگاه‌داده و چیزهای بیشتر به [لیست کامل دستورات](https://developer.wordpress.org/cli/commands/) مراجعه کنید. - -## نصب - -دریافت پرونده Pahr روش پیشنهادی ما برای نصب به بیشتر کاربران است. در صورت نیاز، مستندات ما را برای [روش‌های جایگزین نصب](https://make.wordpress.org/cli/handbook/installing/) ([کمپوزر](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [هوم‌بریو](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [داکر](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). ببینید. - -قبل از نصب WP-CLI، لطفا از دارا بودن حداقل امکانات مورد نیاز مطمئن شوید: - -- سیستم‌های یونیکسی (OS X, Linux, FreeBSD, Cygwin); در ویندوز کمتر پشتیبانی می‌شود -- PHP 5.6 or later -- وردپرس 3.7 به بالا. در نسخه‌های قدیمی‌تر ممکن است با مشکل روبرو شوید - - وقتی از داشتن حداقل امکانات مطمئن شدید، پرونده [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) را بصورت `wget` یا `curl` دریافت کیند: - -```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -``` - -سپس پرونده Phar را از نظر کارکرد معتبرسازی کنید: - -```bash -php wp-cli.phar --info -``` - -جهت استفاده WP-CLI در خط فرمان `wp` را بنویسید، پرونده را قابل اجرا و سپس در PATH خود بگذارید. برای مثال: - -```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp -``` - -اگر WP-CLI به درستی نصب شده باشد، شما در صورت اجرای `wp --info` باید چیزی شبیه به این را ببینید: - -```bash -$ wp --info -OS: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 -Shell: /bin/zsh -PHP binary: /usr/local/bin/php -PHP version: 7.0.22 -php.ini used: /etc/local/etc/php/7.0/php.ini -WP-CLI root dir: /home/wp-cli/.wp-cli/vendor/wp-cli/wp-cli -WP-CLI vendor dir: /home/wp-cli/.wp-cli/vendor -WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: /home/wp-cli/.wp-cli/config.yml -WP-CLI project config: -WP-CLI version: 2.12.0 -``` - -### به‌روزرسانی - -شما می‌توانید WP-CLI را با `wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/))، یا با اجرای دوباره مراحل نصب به‌روزرسانی کنید. - -اگر دسترسی به WP-CLI با روت است یا کاربر سیستمی دیگری است، شما احتیاج به اجرای `sudo wp cli update` دارید. - -به‌روزرسانی زنده می‌خواهید؟ برای استفاده از آخرین نسخه‌های شبانه دستور `wp cli update --nightly` را اجرا کنید. نسخه‌های شبانه به جهت پایداری کمتر برای کار در محیط توسعه مناسب نیستند، اما حاوی آخرین و بهترین امکانات WP-CLI هستند. - -### کامل‌سازی با تب - -WP-CLI دارای قابلیت کامل‌سازی با تب برای بش و ZSH است. کافیست [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) را دریافت و از `~/.bash_profile` سورس کنید: - -```bash -source /FULL/PATH/TO/wp-completion.bash -``` - -فراموش نکنید که بعد از آن `source ~/.bash_profile` را اجرا کنید. - -اگر از zsh برای شل استفاده می‌کنید، شاید به `bashcompinit` برای شروع قبل از سورس کردن نیاز داشته باشید. کد زیر را در `.zshrc` خود قرار دهید: - -```bash -autoload bashcompinit -bashcompinit -source /FULL/PATH/TO/wp-completion.bash -``` - -## پشتیبانی - -توسعه‌دهندگان و مشارکت کنندگان WP-CLI برای پاسخ‌دهی به سوالات زمان محدودی دارند. نسخه فعلی [WP-CLI](https://make.wordpress.org/cli/handbook/roadmap/) تنها نسخه قابل پشتیبانی رسمی است. - -قبل از سوال، لطفا در مورد مشکل خود جستجو کنید: - -* [مشکلات عمومی و رفع آنها](https://make.wordpress.org/cli/handbook/common-issues/) -* [کتابچه WP-CLI](https://make.wordpress.org/cli/handbook/) -* [مشکلات باز و بسته WP-CLI در گیتهاب رسمی](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* [تاپیک‌های مرتبط با 'WP-CLI' در انجمن پشتیبانی وردپرس](https://wordpress.org/support/topic-tag/wp-cli/) -* [سوالات مطرح شده مرتبط با 'WP-CLI' در StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) - -اگر جواب خود را از طریق راه‌های بالا پیدا نکردید، می‌توانید: - -* وارد کانال `#cli` در [اسلک WordPress.org](https://make.wordpress.org/chat/) شوید تا شاید به جواب سوالاتتان برسید. این راه برای سوالات کوتاه مناسب است. -* در انجمن پشتیبانی وردپرس [تاپیک چدید ایجاد کنید](https://wordpress.org/support/forum/wp-advanced/#new-post) و برچسب 'WP-CLI' بزنید. - -مشکلات گیتهاب برای پیگیری بهینه کردن و رفع باگ‌های موجود است، نه برای پشتیبانی عمومی. قبل از ارسال گزارش باگ، لطفا [بخش تمرین را بررسی کنید](https://make.wordpress.org/cli/handbook/bug-reports/)تا گزارش شما به درستی آدرس داده شده باشد و کمک شود که در زمان صرفه جویی شود. - -لطفا در توییتر درخواست پشتیبانی نکنید. توییتر جای مناسبی برای پشتیبانی نیست چون: 1) نگه داشتن صحبت با 200 کاراکتر و کمتر سخت است 2) توییتری جای مناسبی برای سوال شما نیست چون شخصی که سوالی مشابه شما دارد امکان جستجوی آن را ندارد. - -بخاطر داشته باشید، آزادی != رایگان؛ گواهی کدباز به شما دسترسی آزاد به استفاده و ویرایس را می‌دهد، اما نه الزاما با زمان افراد دیگر. لطفا باوقار باشید و انتظارات خود را براین اساس تنظیم کنید. - -## گسترش - -یک **دستور** یک بخش کوچک از عملکرد WP-CLI است. `wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) یک دستور است. `wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) یک دستور دیگر است. - -WP-CLI قابلیت ثبت هر کلاس، تابع یا بسته قابل فراخوانی را بصورت دستور دارد. جزئیات استفاده را از بخش توضیحات مندرج شده می‌خواند. `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) برای هر دو حالت ثبت دستور داخلی و ثالث استفاده می‌شود. - -```php -/** - * Delete an option from the database. - * - * Returns an error if the option didn't exist. - * - * ## OPTIONS - * - * - * : Key for the option. - * - * ## EXAMPLES - * - * $ wp option delete my_option - * Success: Deleted 'my_option' option. - */ -$delete_option_cmd = function( $args ) { - list( $key ) = $args; - - if ( ! delete_option( $key ) ) { - WP_CLI::error( "Could not delete '$key' option. Does it exist?" ); - } else { - WP_CLI::success( "Deleted '$key' option." ); - } -}; -WP_CLI::add_command( 'option delete', $delete_option_cmd ); -``` - -WP-CLI دارای ده‌ها دستور است. ایجاد یک دستور بسیار ساده‌تر از چیزی است که بنظر می‌رسد. بخش [کتابچه دستورات](https://make.wordpress.org/cli/handbook/commands-cookbook/) را برای آموزش مطالعه کنید. [API داخلی docs](https://make.wordpress.org/cli/handbook/internal-api/) را برای آشنایی با انواع عملکردهای مفید که می‌توانید در دستور دلخواه WP-CLI استفاده کنید را ببینید. - -## مشارکت - -ما از شما برای مشارکت در WP-CLI قدردانی می‌کنیم. به خاطر شما و جامعه اطراف شماست که WP-CLI چنین پروژه‌ای عالی است. - -**مشارکت فقط به یک کد محدود نمی‌شود.** ما شما را تشویق می‌کنیم تا به روشی که متناسب با توانایی‌های شما است مشارکت کنید -با نوشتن آموزش, ارائه یک نسخه‌ی نمایشی در میتاپ شما، کمک به کاربران دیگر با پشتیبانی و پاسخگویی و یا بررسی مستندات ما. - -برای معرفی کامل نحوه مشارکت [راهنمای مشارکت در ددفترچه راهنما](https://make.wordpress.org/cli/handbook/contributing/) را مطالعه کنید. پیروی از این دستورالعمل‌ها به شما برای احترام به زمان دیگر مشارکت کنندگان پروژه کمک می‌کند. به نوبه خود، آنها همه تلاش خود را برای تکرار این احترام هنگام همکاری با شما، در مناطق زمانی مختلف و سراسر جهان انجام می دهند. - -## رهبری - -WP-CLI یک نگهدارنده دارد: [schlessera](https://github.com/schlessera). - -به تناسب، ما [دسترسی برا نوشتن به مشارکت کنندگان می‌دهیم](https://make.wordpress.org/cli/handbook/committers-credo/)،آنهایی که توانایی خود را در طی زمان برای جلو بردن پروژه نشان دمی‌دهند. - -توضیحات [سند مدیریت در کتابچه راهنمای کاربر](https://make.wordpress.org/cli/handbook/governance/) را برای جزئیات عملیاتی در مورد پروژه بخوانید. - -## همکاران - -علاوه بر کتابخانه های تعریف شده در [composer.json](composer.json) ما از پروژه‌ها یا کدهای زیر استفاده کرده‌ایم: - -* [Drush](https://github.com/drush-ops/drush) برای خیلی چیزها -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) برای `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) برای `wp media regenerate` -* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) برای `wp search-replace` -* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) برای `wp export` -* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) برای `wp import` -* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) برای `wp scaffold plugin-tests` diff --git a/fr/index.md b/fr/index.md index 20570f84..669fd8ad 100644 --- a/fr/index.md +++ b/fr/index.md @@ -1,53 +1,19 @@ --- layout: default title: Interface en ligne de commande pour WordPress -direction: ltr --- -WP-CLI -====== - -[WP-CLI](https://wp-cli.org/fr) est un ensemble d'outils en ligne de commande pour gérer vos installations [WordPress](https://fr.wordpress.org/). Vous pouvez mettre à jour les extensions, configurer des installations multisite et beaucoup plus sans avoir recours à un navigateur web. - -L'entretien continu de ce projet est possible grâce à : - -
- - Automattic - - - Bluehost - - - Pantheon - - - SiteGround - - - WP Engine - - - Cloudways - -
- -La dernière version stable est la [version 2.11.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). - -Pour rester à jour, suivez [@wpcli sur Twitter](https://twitter.com/wpcli) ou [inscrivez-vous à notre lettre d'information par email](https://make.wordpress.org/cli/subscribe/). - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Temps moyen pour traiter un ticket](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Temps moyen pour traiter un ticket") [![Pourcentage de tickets encore ouverts](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Pourcentage de tickets encore ouverts") - - -Liens rapides: [Utilisation](#utilisation) | [Installation](#installation) | [Soutien](#soutien) | [Étendre](#étendre) | [Contribuer](#contribuer) | [Crédits](#crédits) + +[WP-CLI](https://wp-cli.org/) est un ensemble d'outil en ligne de commande pour gérer vos installations [WordPress](https://wordpress.org/). Vous pouvez mettre à jour les extensions, configurer des installations multi-site et beaucoup plus sans avoir recours à un navigateur web. + +Pour rester à jour, suivez [@wpcli sur Twitter](https://twitter.com/wpcli) ou [inscrivez-vous à notre lettre d'information par email](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). + +[![Statut du build](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Statut des dépendances](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Temps moyen pour traiter un ticket](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Temps moyen pour traiter un ticket") [![Pourcentage de tickets encore ouverts](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Pourcentage de tickets encore ouverts") + +Liens rapides: [Utilisation](#utilisation) | [Installation](#installation) | [Support](#support) | [Étendre](#tendre) | [Contribuer](#contribuer) | [Crédits](#crdits) ## Utilisation -L'objectif de WP-CLI est de fournir une interface en ligne de commande pour toute action qu'il serait utile de faire dans l'administration WordPress. Par exemple, `wp plugin install --activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) vous permet d'installer et d'activer une extension WordPress : +L'objectif de WP-CLI est de fournir une interface en ligne de commande pour toute action qu'il serait utile de faire dans l'administration WordPress. Par exemple, `wp plugin install --activate` ([doc](https://wp-cli.org/commands/plugin/install/)) vous permet d'installer et activer une extension WordPress : ```bash $ wp plugin install rest-api --activate @@ -60,72 +26,69 @@ Activating 'rest-api'... Success: Plugin 'rest-api' activated. ``` -WP-CLI inclut aussi des commandes pour d'autres actions que vous ne pouvez pas faire dans l'administration WordPress. Par exemple, `wp transient delete-all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) permet de supprimer un ou tous les transients : +WP-CLI inclut aussi des commandes pour d'autres choses que vous ne pouvez pas faire dans l'administration WordPress. Par exemple, `wp transient delete-all` ([doc](https://wp-cli.org/commands/transient/delete-all/)) permet de supprimer un ou tous les "transients" : ```bash $ wp transient delete-all Success: 34 transients deleted from the database. ``` -Pour une introduction plus complète sur l'utilisation de WP-CLI, lisez le [Guide de démarrage rapide (en)](https://make.wordpress.org/cli/handbook/quick-start/). Vous pouvez également en apprendre davantage sur l'utilisation de la ligne de commande via des [informations sur l'utilisation du Shell (en)](https://make.wordpress.org/cli/handbook/shell-friends/). +Pour une introduction plus complète sur l'utilisation de WP-CLI, lisez le [Guide de démarrage rapide (en)](https://wp-cli.org/docs/quick-start/). -Vous vous sentez déjà à l'aise avec les bases ? Allez voir la [liste complète des commandes (en)](https://developer.wordpress.org/cli/commands/) pour avoir des informations détaillées sur la gestion des thèmes et extensions, l'import/export de données, l'exécution de rechercher/remplacer dans la base de données et bien plus. +Vous vous sentez déjà à l'aise avec les bases ? Allez voir la [liste complète des commandes (en)](https://wp-cli.org/commands/) pour avoir des informations détaillées sur la gestion des thèmes et extensions, l'import/export de données, l'exécution de rechercher/remplacer dans la base de données et bien plus. ## Installation -Télécharger le Phar est la méthode d'installation que nous recommandons. Si vous avez besoin, vous pouvez aussi consulter notre documentation sur [d'autres méthodes d'installation (en)](https://make.wordpress.org/cli/handbook/installing/). +Télécharger le Phar est la méthode d'installation que nous recommandons. Si vous avez besoin, vous pouvez aussi consulter notre documentation sur [autres méthodes d'installation (en)](https://wp-cli.org/docs/installing/). -Avant d'installer WP-CLI, veuillez vous assurer que votre environnement répond aux exigences minimales : +Avant d'installer WP-CLI, veuillez vous assurer que votre environnement réponds aux exigences minimales : -- Environnement de type UNIX (OS X, Linux, FreeBSD, Cygwin); le soutien est limité sur les environnements Windows -- PHP 5.6 ou plus récent +- Environnement de type UNIX (OS X, Linux, FreeBSD, Cygwin); le support est limité sur les environnements Windows +- PHP 5.3.29 ou plus récent - WordPress 3.7 ou plus récent -Une fois que vous avez vérifié ces exigences, téléchargez le fichier [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) en utilisant `wget` ou `curl` : +Une fois que vous avez vérifié ces exigences, téléchargez le fichier [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) en utilisant `wget` ou `curl` : ```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar +$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar ``` Ensuite, vérifiez que tout fonctionne : ```bash -php wp-cli.phar --info +$ php wp-cli.phar --info ``` -Pour utiliser WP-CLI à partir de la ligne de commande en tapant `wp`, rendez le fichier exécutable et déplacez-le quelque part dans votre `PATH`. Par exemple : +Pour utiliser WP-CLI à partir de la ligne de commande en tapant `wp`, rendez le fichier exécutable et déplacez le quelque part dans votre `PATH`. Par exemple : ```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp +$ chmod +x wp-cli.phar +$ sudo mv wp-cli.phar /usr/local/bin/wp ``` Si WP-CLI a été installé correctement, vous devez obtenir le résultat suivant quand vous exécutez `wp --info`: ```bash $ wp --info -OS: Ubuntu 20.04 -Shell: /bin/zsh -PHP binary: /usr/local/bin/php -PHP version: 8.1.0 -php.ini used: /etc/local/etc/php/php.ini -WP-CLI root dir: /home/wp-cli/.wp-cli/vendor/wp-cli/wp-cli -WP-CLI vendor dir: /home/wp-cli/.wp-cli/vendor +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ WP-CLI global config: /home/wp-cli/.wp-cli/config.yml WP-CLI project config: -WP-CLI version: 2.11.0 +WP-CLI version: 0.25.0 ``` ### Mise à jour -Vous pouvez mettre à jour WP-CLI avec la commande `wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/)), ou en répétant les étapes d'installation. +Vous pouvez mettre à jour WP-CLI avec la commande `wp cli update` ([doc](https://wp-cli.org/commands/cli/update/)), ou en répétant les étapes d'installation. Vous voulez vivre dangereusement ? Exécutez `wp cli update --nightly` pour installer les derniers nightly build de WP-CLI. Un nightly build est relativement stable pour être utilisé dans votre environnement de développement et inclut toujours les fonctionnalités de WP-CLI les plus récentes. -### Autocomplétion +### Tab completions -WP-CLI contient des scripts d'autocomplétion pour Bash et ZSH. Il suffit de télécharger [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.11.0/utils/wp-completion.bash) et de l'importer dans votre fichier `~/.bash_profile`: +WP-CLI contient des scripts d'autocomplétion pour Bash et ZSH. Il suffit de télécharger [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash) et de l'importer dans votre fichier `~/.bash_profile`: ```bash source /FULL/PATH/TO/wp-completion.bash @@ -141,32 +104,29 @@ bashcompinit source /FULL/PATH/TO/wp-completion.bash ``` -## Soutien +## Support Les mainteneurs de WP-CLI et les contributeurs du projet font de leur mieux pour répondre à tous les nouveaux tickets en temps opportun. Pour utiliser au mieux leur temps bénévole, merci de vérifier s'il n'existe pas déjà une réponse à votre question dans l'une des ressources suivantes : -- [Problèmes courants et leur correction (en)](https://make.wordpress.org/cli/handbook/common-issues/) -- [Bonnes pratiques pour soumettre un rapport de bug (en)](https://make.wordpress.org/cli/handbook/bug-reports/) -- [Documentation (en)](https://make.wordpress.org/cli/handbook/) +- [Problèmes courants et leur correction (en)](https://wp-cli.org/docs/common-issues/) +- [Bonnes pratiques pour soumettre un rapport de bug (en)](https://wp-cli.org/docs/bug-reports/) +- [Documentation (en)](https://wp-cli.org/docs/) - [Tickets ouvert ou fermés sur Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) -- [Forum StackExchange WordPress](https://wordpress.stackexchange.com/questions/tagged/wp-cli) - -Si vous n'arrivez pas à trouver une réponse en utilisant un de ces liens : +- [Forum StackExchange WordPress](http://wordpress.stackexchange.com/questions/tagged/wp-cli) -- Rejoignez le canal `#cli` sur [l'organisation Slack WordPress.org](https://make.wordpress.org/chat/) pour discuter avec les personnes en ligne à ce moment. Cette option est préférable pour des réponses rapides. -- [Créez un nouveau ticket](https://wordpress.org/support/forum/wp-advanced/#new-post) dans le forum de soutien WordPress.org en attachant l'étiquette 'WP-CLI' pour qu'il soit vu par la communauté. +Si vous n'arrivez pas à trouver une réponse en utilisant un de ces liens, rejoignez le canal `#cli` sur [l'organisation Slack WordPress.org](https://make.wordpress.org/chat/) pour voir si un membre de la communauté peut avoir une réponse pour vous. Les professionnels doivent savoir que [runcommand](https://runcommand.io/) fournit du support premium. -Les tickets Github, permettent de suivre l'évolution des bugs et améliorations sur les commandes existantes. Ils ne sont pas utilisés pour faire du soutien. Avant de soumettre un nouveau rapport de bug, merci de passer en revue [nos bonnes pratiques](https://make.wordpress.org/cli/handbook/bug-reports/) pour vous assurer que votre ticket les respecte. +Les tickets Github, permettent de suivre l'évolution des bugs et améliorations sur les commandes existantes. Ils ne sont pas utilisés pour faire du support. Avant de soumettre un nouveau rapport de bug, merci de passer en revue [nos bonnes pratiques](https://wp-cli.org/docs/bug-reports/) pour vous assurer que votre ticket les respectent. -Merci de ne pas demander du soutien sur Twitter. Twitter n'est pas un endroit convenable pour faire du soutien : 1) c'est compliqué d'avoir une conversation en aussi peu de caractères et 2) Twitter n'est pas un endroit où quelqu'un avec la même question peut chercher et obtenir une réponse avant de la poser à nouveau. +Merci de ne pas demander du support sur Twitter. Twitter n'est pas un endroit convenable pour faire du support : 1) c'est compliqué d'avoir une conversation en moins de 140 caractères et 2) Twitter n'est pas un endroit où quelqu'un avec la même question peut chercher et obtenir une réponse avant de la poser à nouveau. Souvenez-vous, libre != gratuit ; la licence open source vous donne la liberté d'utiliser et modifier, mais pas au dépend du temps d'autres personnes. Merci d'être respectueux et de définir vos attentes en conséquence. ## Étendre -Une **commande** est une unité atomique de fonctionnalité WP-CLI. `wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) est une commande. `wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) en est une autre. +Une **commande** est une unité atomique de fonctionnalité WP-CLI. `wp plugin install` ([doc](https://wp-cli.org/commands/plugin/install/)) est une commande. `wp plugin activate` ([doc](https://wp-cli.org/commands/plugin/activate/)) en est une autre. -WP-CLI permet d'enregistrer n'importe quelle classe, fonction ou closure comme une commande. Les informations d'utilisation sont lues à partir du bloc PHPdoc de la fonction de rappel. `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) est utilisé aussi bien pour l'enregistrement des commandes internes ou externes. +WP-CLI permet d'enregister n'importe quelle classe, fonction ou closure comme une commande. Les informations d'utilisation sont lues à partir du bloc PHPdoc de la fonction de rappel. `WP_CLI::add_command()` ([doc](https://wp-cli.org/docs/internal-api/wp-cli-add-command/)) est utilisé aussi bien pour l'enregistrement des commandes internes ou externes. ```php /** @@ -196,35 +156,35 @@ $delete_option_cmd = function( $args ) { WP_CLI::add_command( 'option delete', $delete_option_cmd ); ``` -WP-CLI est livré avec des douzaines de commandes. Il est plus facile qu'il n'y parait de créer vos propres commandes WP-CLI. Lisez le [commands cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/) pour en apprendre davantage. Parcourez la [documentation sur l'API interne](https://make.wordpress.org/cli/handbook/internal-api/) pour découvrir une variété de fonctions utiles que vous pouvez utiliser dans votre commande WP-CLI personnalisée. +WP-CLI est livré avec des douzaines de commandes. Il est plus facile qu'il n'y parait de créer vos propres commandes WP-CLI. Lisez le [commands cookbook](https://wp-cli.org/docs/commands-cookbook/) pour en apprendre d'avantage. Parcourez la [documentation sur l'API interne](http://wp-cli.org/docs/internal-api/) pour découvrir une variété de fonctions utiles que vous pouvez utiliser dans votre commande WP-CLI personnalisée. ## Contribuer Bienvenue et merci ! -Nous apprécions que vous preniez l'initiative de contribuer à WP-CLI. C'est grâce à vous et à la communauté autour de vous que WP-CLI est un projet aussi important. +Nous apprécions que vous preniez l'iniative de contribuer à WP-CLI. C'est grâce à vous et à la communauté autour de vous que WP-CLI est un project aussi important. -**Contribuer n'est pas limité uniquement à l'écriture de code.** Nous vous encourageons à contribuer de la façon qui vous correspond le mieux, en écrivant des tutoriels, en faisant des démonstrations dans votre groupe d'utilisateurs local, à aider les autres avec leurs questions de soutien, ou en relisant notre documentation. +**Contribuer n'est pas limité uniquement à l'écriture de code.** Nous vous encourageons à contribuer de la façon qui vous correspond le mieux, en écrivant des didactitiels, en faisant des démonstrations dans votre groupe d'utilisateur local, à aider les autres avec leurs questions de support, ou en relisant notre documentation. -Merci de prendre un moment pour [lire le guide du contributeur en profondeur](https://make.wordpress.org/cli/handbook/contributing/). Suivre ces règles aide à communiquer avec le respect du temps des autres contributeurs du projet. En retour, ils feront de leur mieux pour travailler avec ce même respect, à travers les fuseaux horaires et dans le monde lorsque vous en aurez besoin. +Merci de prendre un moment pour [lire le guide du contributeur en profondeur](https://wp-cli.org/docs/contributing/). Suivre ces règles aide à communiquer avec le respect du temps des autres contributeurs du projet. En retour, ils feront de leur mieux pour travailler avec ce même respect, à travers les fuseaux horaires et dans le monde lorsque vous en aurez besoin. ## Leadership -WP-CLI est dirigé et maintenu par : [schlessera](https://github.com/schlessera). - -La version francophone de ce site est maintenue par : [Maxime Jobin](https://github.com/maximejobin) +WP-CLI est dirigé par ces personnes : -À l'occasion, il arrive que certains [contributeurs reçoivent des accès plus permissifs (en)](https://make.wordpress.org/cli/handbook/committers-credo/) après avoir démontré leurs capacités et leur temps investis dans le projet. +* [Daniel Bachhuber](https://github.com/danielbachhuber/) - mainteneur actuel +* [Cristi Burcă](https://github.com/scribu) - mainteneur précédent +* [Andreas Creten](https://github.com/andreascreten) - créateur -Pour en savoir plus sur la [gouvernance (en)](https://make.wordpress.org/cli/handbook/governance/) du projet et voir la [liste complète des contributeurs](https://github.com/wp-cli/wp-cli/contributors). +Pour en savoir plus sur la [gouvernance (en)](https://wp-cli.org/docs/governance/) du projet et voir la [liste complète des contributeurs](https://github.com/wp-cli/wp-cli/contributors). ## Crédits Derrière les librairies définies dans le fichier [composer.json](composer.json), nous avons utilisé du code et des idées venant des projets suivants : -* [Drush](https://www.drush.org/) pour... pas mal de choses -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) pour `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) pour `wp media regenerate` +* [Drush](http://drush.ws/) pour... pas mal de choses +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) pour `wp shell` +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) pour `wp media regenerate` * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) pour `wp search-replace` * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) pour `wp export` * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) pour `wp import` diff --git a/gr/index.md b/gr/index.md index a3692981..3c74866f 100644 --- a/gr/index.md +++ b/gr/index.md @@ -1,14 +1,13 @@ --- layout: default title: Διεπαφή γραμμής εντολών για το WordPress -direction: ltr --- Το [WP-CLI](https://wp-cli.org/) είναι ένα σύνολο από εργαλεία γραμμής εντολών για τη διαχείριση εγκαταστάσεων [WordPress](https://wordpress.org/). Μπορείτε να ενημερώνετε πρόσθετα, να ρυθμίζετε εγκαταστάσεις πολλαπλών ιστοτόπων και πολλά περισσότερα, χωρίς τη χρήση περιηγητή. -Για να μένετε ενημερωμένοι, ακολουθήστε το [@wpcli στο Twitter](https://twitter.com/wpcli) ή [εγγραφείτε για το ενημερωτικό μας δελτίο](https://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). +Για να μένετε ενημερωμένοι, ακολουθήστε το [@wpcli στο Twitter](https://twitter.com/wpcli) ή [εγγραφείτε για το ενημερωτικό μας δελτίο](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). -[![Testing](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") Γρήγοροι σύνδεσμοι: [Χρήση](#using) | [Εγκατάσταση](#installing) | [Υποστήριξη](#support) | [Επέκταση](#extending) | [Συνεισφορά](#contributing) | [Ευχαριστίες](#credits) @@ -48,7 +47,7 @@ Success: 34 transients deleted from the database. - PHP 5.3.29 ή νεότερη - WordPress 3.7 ή νεότερο -Μόλις επιβεβαιώσετε τις απαιτήσεις, μεταφορτώστε το αρχείο [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) χρησιμοποιώντας την εντολή `wget` ή `curl`: +Μόλις επιβεβαιώσετε τις απαιτήσεις, μεταφορτώστε το αρχείο [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) χρησιμοποιώντας την εντολή `wget` ή `curl`: ```bash $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar @@ -113,7 +112,7 @@ source /FULL/PATH/TO/wp-completion.bash - [Βέλτιστες πρακτικές για υποβολή αναφοράς σφάλματος](https://wp-cli.org/docs/bug-reports/) - [Πύλη τεκμηρίωσης](https://wp-cli.org/docs/) - [Ανοιχτά ή κλειστά θέματα στο Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) -- [WordPress StackExchange forums](https://wordpress.stackexchange.com/questions/tagged/wp-cli) +- [WordPress StackExchange forums](http://wordpress.stackexchange.com/questions/tagged/wp-cli) Αν δε μπορείτε να βρείτε απάντηση σε ένα από τις υπάρχουσες πηγές, [δημιουργήστε ένα θέμα](https://github.com/wp-cli/wp-cli/issues/new) με την ερώτησή σας. @@ -181,9 +180,9 @@ WP_CLI::add_command( 'option delete', $delete_option_cmd ); Εκτός τις βιβλιοθήκες που ορίζονται στο [composer.json](composer.json), έχουμε χρησιμοποιήσει κώδικα ή ιδέες από τα ακόλουθα έργα: -* [Drush](https://www.drush.org/) για... πολλά πράγματα -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) για το `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) για το `wp media regenerate` +* [Drush](http://drush.ws/) για... πολλά πράγματα +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) για το `wp shell` +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) για το `wp media regenerate` * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) για το `wp search-replace` * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) για το `wp export` * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) για το `wp import` diff --git a/index.md b/index.md index 9eaabd31..5f837ab4 100644 --- a/index.md +++ b/index.md @@ -1,39 +1,17 @@ -WP-CLI -====== - -[WP-CLI](https://wp-cli.org/) is the command-line interface for [WordPress](https://wordpress.org/). You can update plugins, configure multisite installations and much more, without using a web browser. - -Ongoing maintenance is made possible by: - -
- - Automattic - - - Bluehost - - - Pantheon - - - SiteGround - - - WP Engine - - - Cloudways - -
- -The current stable release is [version 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases. - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") +--- +layout: default +title: Command line interface for WordPress +--- + +[WP-CLI](https://wp-cli.org/) is the command-line interface for [WordPress](https://wordpress.org/). You can update plugins, configure multisite installs and much more, without using a web browser. + +Ongoing maintenance is made possible by: + + + +The current stable release is [version 1.4.1](https://make.wordpress.org/cli/2017/11/13/version-1-4-1-released/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases. + +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.svg?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") Quick links: [Using](#using) | [Installing](#installing) | [Support](#support) | [Extending](#extending) | [Contributing](#contributing) | [Credits](#credits) @@ -44,7 +22,7 @@ WP-CLI provides a command-line interface for many actions you might perform in t ```bash $ wp plugin install user-switching --activate Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... +Downloading install package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... Unpacking the package... Installing the plugin... Plugin installed successfully. @@ -66,15 +44,15 @@ Already feel comfortable with the basics? Jump into the [complete list of comman ## Installing -Downloading the Phar file is our recommended installation method for most users. Should you need, see also our documentation on [alternative installation methods](https://make.wordpress.org/cli/handbook/installing/) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). +Downloading the Phar file is our recommended installation method for most users. Should you need, see also our documentation on [alternative installation methods](https://make.wordpress.org/cli/handbook/installing/). Before installing WP-CLI, please make sure your environment meets the minimum requirements: - UNIX-like environment (OS X, Linux, FreeBSD, Cygwin); limited support in Windows environment -- PHP 5.6 or later -- WordPress 3.7 or later. Versions older than the latest WordPress release may have degraded functionality +- PHP 5.3.29 or later +- WordPress 3.7 or later -Once you've verified requirements, download the [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) file using `wget` or `curl`: +Once you've verified requirements, download the [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) file using `wget` or `curl`: ```bash curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar @@ -97,21 +75,14 @@ If WP-CLI was installed successfully, you should see something like this when yo ```bash $ wp --info -OS: Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php8.1 -PHP version: 8.1.0 -php.ini used: /etc/php/8.1/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.12.0 +WP-CLI global config: /home/wp-cli/.wp-cli/config.yml +WP-CLI project config: +WP-CLI version: 1.4.1 ``` ### Updating @@ -124,7 +95,7 @@ Want to live life on the edge? Run `wp cli update --nightly` to use the latest n ### Tab completions -WP-CLI also comes with a tab completion script for Bash and ZSH. Just download [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) and source it from `~/.bash_profile`: +WP-CLI also comes with a tab completion script for Bash and ZSH. Just download [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash) and source it from `~/.bash_profile`: ```bash source /FULL/PATH/TO/wp-completion.bash @@ -159,7 +130,7 @@ If you didn't find an answer in one of the venues above, you can: GitHub issues are meant for tracking enhancements to and bugs of existing commands, not general support. Before submitting a bug report, please [review our best practices](https://make.wordpress.org/cli/handbook/bug-reports/) to help ensure your issue is addressed in a timely manner. -Please do not ask support questions on Twitter. Twitter isn't an acceptable venue for support because: 1) it's hard to hold conversations in under 280 characters, and 2) Twitter isn't a place where someone with your same question can search for an answer in a prior conversation. +Please do not ask support questions on Twitter. Twitter isn't an acceptable venue for support because: 1) it's hard to hold conversations in under 140 characters, and 2) Twitter isn't a place where someone with your same question can search for an answer in a prior conversation. Remember, libre != gratis; the open source license grants you the freedom to use and modify, but not commitments of other people's time. Please be respectful, and set your expectations accordingly. @@ -209,7 +180,7 @@ Read through our [contributing guidelines in the handbook](https://make.wordpres ## Leadership -WP-CLI has one project maintainer: [schlessera](https://github.com/schlessera). +WP-CLI has two project maintainers: [danielbachhuber](https://github.com/danielbachhuber) and [schlessera](http://github.com/schlessera). On occasion, we [grant write access to contributors](https://make.wordpress.org/cli/handbook/committers-credo/) who have demonstrated, over a period of time, that they are capable and invested in moving the project forward. diff --git a/it/index.md b/it/index.md index 7f845b20..034ab05c 100644 --- a/it/index.md +++ b/it/index.md @@ -1,14 +1,13 @@ --- layout: default title: Interfaccia da linea di comando per WordPress -direction: ltr --- [WP-CLI](https://wp-cli.org/) è un insieme di strumenti da linea di comando per la gestione delle installazioni [WordPress](https://wordpress.org/). Potete aggiornare plugin, configurare installazioni multisito e molto altro, senza utilizzare un browser web. -Per rimanere aggiornati, seguite [@wpcli su Twitter](https://twitter.com/wpcli) oppure [iscrivetevi alla nostra newsletter](https://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). +Per rimanere aggiornati, seguite [@wpcli su Twitter](https://twitter.com/wpcli) oppure [iscrivetevi alla nostra newsletter](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). -[![Testing](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") Collegamenti rapidi: [Utilizzo](#utilizzo) | [Installazione](#installazione) | [Supporto](#supporto) | [Estendere](#estendere) | [Contribuire](#contribuire) | [Crediti](#crediti) @@ -48,7 +47,7 @@ Prima di procedere con l'installazione di WP-CLI, vi preghiamo di assicurarvi ch - PHP 5.3.29 o successivo - WordPress 3.7 o successivo -Una volta che avrete verificato i requisiti, scaricate il file [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) mediante `wget` o `curl`: +Una volta che avrete verificato i requisiti, scaricate il file [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) mediante `wget` o `curl`: ```bash $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar @@ -113,7 +112,7 @@ I manutentori e i contributori di WP-CLI sono volontari, hanno limitate disponib - [Portale della documentazione](https://wp-cli.org/docs/) - [Problemi segnalati o estinti su Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) - [Estratti di runcommand](https://runcommand.io/excerpts/) -- [Forum di WordPress su StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) +- [Forum di WordPress su StackExchange](http://wordpress.stackexchange.com/questions/tagged/wp-cli) Se non trovare delle risposte in questi posti, entrate al canale `#cli` su [WordPress.org Slack organization](https://make.wordpress.org/chat/) per vedere se qualche membro della comunità può offrirvele. @@ -185,9 +184,9 @@ Leggi di più riguardo la [politica del progetto](https://wp-cli.org/docs/govern Oltre alle librerie definite in [composer.json](composer.json), abbiamo adottato codice o spunti dai seguenti progetti: -* [Drush](https://www.drush.org/) per... un mucchio di cose -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) per `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) per `wp media regenerate` +* [Drush](http://drush.ws/) per... un mucchio di cose +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) per `wp shell` +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) per `wp media regenerate` * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) per `wp search-replace` * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) per `wp export` * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) per `wp import` diff --git a/ja/index.md b/ja/index.md index 98736e71..dd3fa734 100644 --- a/ja/index.md +++ b/ja/index.md @@ -1,50 +1,25 @@ --- layout: default title: Command line interface for WordPress -direction: ltr --- [WP-CLI](https://wp-cli.org/) は [WordPress](https://wordpress.org/) を管理するためのコマンドラインインターフェースです。 -プラグインのアップデートやマルチサイトのセットアップなど、多くのことをブラウザなしで実行できます。 - -下記のサポーターの協力で継続的なメンテナンスが行われています。 - -
- - Automattic - - - Bluehost - - - Pantheon - - - SiteGround - - - WP Engine - - - Cloudways - -
- -現在の安定バージョンは [2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/) です。 最新情報を得たい人は、[@wpcli on Twitter](https://twitter.com/wpcli) をフォローするか、[メーリングリストにサインアップ](https://make.wordpress.org/cli/subscribe/)してください。[ロードマップ](https://make.wordpress.org/cli/handbook/roadmap/)で今後のリリース予定を知ることができます。 - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") - -Quick links: [使い方](#使い方) | [インストール方法](#インストール方法) | [サポート](#サポート) | [拡張](#拡張) | [貢献](#貢献) | [クレジット](#クレジット) +プラグインのアップデートやマルチサイトのセットアップなどの多くのことをブラウザ無しで行うことができます。 + +現在のメンテナンスは、以下の企業のサポートにより支えられています。 + + + +現在の最新バージョンは [1.4.0](https://make.wordpress.org/cli/2017/10/17/version-1-4-0-released/) です。 最新情報を得たい人は、[@wpcli on Twitter](https://twitter.com/wpcli) をフォローするか、[メーリングリストにサインアップ](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e)してください。[ロードマップ](https://make.wordpress.org/cli/handbook/roadmap/)で、今後のリリースの予定をしることができます。 + +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.svg?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") + +Quick links: [使い方](#section) | [インストール方法](#section-1) | [サポート](#section-4) | [拡張](#section-5) | [貢献](#section-6) | [クレジット](#section-8) ## 使い方 -WP-CLI は、みなさんが WordPress の管理画面でやりたいと思っていることに対するコマンドラインインターフェースを提供します。 -たとえば、`wp plugin install --activate` ([ドキュメント](https://developer.wordpress.org/cli/commands/plugin/install/)) というコマンドを実行すると、プラグインをインストールした上で有効化できます。 +WP-CLI は、みなさんが WordPress の管理画面でやりたいと思っていることに対するコマンドラインインターフェースを提供しています。 +たとえば、`wp plugin install --activate` ([ドキュメント](https://developer.wordpress.org/cli/commands/plugin/install/)) は、プラグインをインストールし有効化します。 ```bash $ wp plugin install user-switching --activate @@ -58,86 +33,79 @@ Plugin 'user-switching' activated. Success: Installed 1 of 1 plugins. ``` -さらに WP-CLI では、WordPress の管理画面ではできない多くのことを行えます。たとえば、`wp transient delete --all` ([ドキュメント](https://developer.wordpress.org/cli/commands/transient/delete/)) というコマンドを実行すると、一時的に保存されているすべてのデータが削除されます。 +さらに WP-CLI は、WordPress の管理画面ではできない多くのことが可能です。たとえば、`wp transient delete --all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) は、Transient に保存されているすべてのデータを削除することを可能にしています。 ```bash $ wp transient delete --all Success: 34 transients deleted from the database. ``` -WP-CLI の使い方について詳しく知りたいときは、[クイックスタートガイド](https://make.wordpress.org/cli/handbook/quick-start/)を読んでください。[Shell friends](https://make.wordpress.org/cli/handbook/shell-friends/) では便利なコマンドラインユーティリティについても学べます。 +WP-CLI の使い方に関するさらに詳しい情報は、[クイックスタートガイド](https://make.wordpress.org/cli/handbook/quick-start/)を読んでください。または、[shell friends](https://make.wordpress.org/cli/handbook/shell-friends/) で便利なコマンドラインユーティリティについて学ぶことができます。 -基本的なことをすでに理解しているなら、[コマンドリスト](https://developer.wordpress.org/cli/commands/)にジャンプして、テーマやプラグインの管理、データのインポートやエクスポート、データベースの検索・置換操作などの詳細を見てください。 +もし、すでに基本的なことを理解しているなら、[コマンドリスト](https://developer.wordpress.org/cli/commands/)にジャンプして、テーマやプラグインの管理、データのインポートやエクスポート、データベースの操作などについての詳細をみてください。 ## インストール方法 -Phar ファイルのダウンロードによるインストールを推奨します。必要に応じて[上級者向けインストール方法](https://make.wordpress.org/cli/handbook/installing/) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)) も参照してください。 +Phar ファイルをダウンロードする方法が、私たちが推奨するインストール方法です。必要なら[上級者向けインストール方法](https://make.wordpress.org/cli/handbook/installing/)(英語)を見てください。 -WP-CLI をインストールする前に、動作環境を確認します。 +WP-CLI をインストールする前に、動作環境を確認してください。 -- UNIX 系の環境 (OS X, Linux, FreeBSD, Cygwin) ; Windows では一部の機能に制限があります。 -- PHP 5.6 またはそれ以降のバージョン。 -- WordPress 3.7 またはそれ以降のバージョン。WordPress 最新版ではない古いバージョンでは、機能が低下する可能性があります。 +- UNIX 系の環境 (OS X, Linux, FreeBSD, Cygwin); Windows では一部の機能に制限があります。 +- PHP 5.3.29 またはそれ以降のバージョン +- WordPress 3.7 またはそれ以降のバージョン -動作条件を再度確認し、`wget` または `curl` で [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) をダウンロードします。 +動作条件を再度確認してから、`wget`または`curl`を使用して [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) をダウンロードしてください。 ```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar +$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar ``` -次に、Phar ファイルが動作していることを確認します。 +次に、Phar ファイルが動作していることを確認してください。 ```bash -php wp-cli.phar --info +$ php wp-cli.phar --info ``` -WP-CLI を `wp` コマンドで実行するには、wp-cli.phar が実行可能で、かつ、環境変数 `PATH` に登録された場所に置かれていることが必要です。例を示します。 +WP-CLI コマンドを`wp`で実行するには、それに実行権限があることと環境変数`PATH`に登録されていることが必要です。 ```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp +$ chmod +x wp-cli.phar +$ sudo mv wp-cli.phar /usr/local/bin/wp ``` -WP-CLI のインストールが成功していれば、`wp --info` コマンドで以下のように出力されるはずです。 +もし、WP-CLI のインストールが成功していれば、`wp --info`を実行したら以下のように出力されるはずです。 ```bash $ wp --info -OS: Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php8.1 -PHP version: 8.1.0 -php.ini used: /etc/php/8.1/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.12.0 +WP-CLI global config: /home/wp-cli/.wp-cli/config.yml +WP-CLI project config: +WP-CLI version: 1.4.0 ``` ## アップデート -WP-CLI は、`wp cli update` ([ドキュメント](https://developer.wordpress.org/cli/commands/cli/update/)) コマンド、または上述のインストール方法を再度行うことでアップデートできます。 +WP-CLI をアップデートするには、`wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/)) を実行するか、上述のインストール方法を再度行う必要があります。 -ただし、WP-CLI のオーナーが root または他のシステム管理者の場合は、`sudo wp cli update` と実行する必要があります。 +WP-CLI のオーナーが root もしくは他のシステム管理者になっている場合は、`sudo wp cli update` と実行する必要があります。 -チャレンジ精神旺盛な人は `wp cli update --nightly` を実行してみましょう。最新の開発者向けバージョンの WP-CLI を使うことができます。開発者向けバージョンは、あなたの開発環境で使用する上で十分な信頼性があり、常に最新の機能を含んでいます。 +もっととんがった生き方をしたい? `wp cli update --nightly` を実行すれば、最新の開発者向けバージョンの WP-CLI を使用することができます。開発者向けバージョンは、あなたの開発環境で使用するのに十分な信頼性があり、つねに最新の機能を使用することができます。 ## タブ補完 -WP-CLI には、Bash および zsh 向けのタブ補完スクリプトがあります。スクリプトを使うときは [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) をダウンロードして、`~/.bash_profile` で読み込みます。 +WP-CL には、Bash 及び ZSH 用のタブ補完用のスクリプトがあります。 [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash) をダウンロードして、`~/.bash_profile` から読み込んでください。 -```bash +``` source /FULL/PATH/TO/wp-completion.bash ``` -`source ~/.bash_profile` を実行するのをお忘れなく。 +`source ~/.bash_profile` を実行するのを忘れないでください。 -zsh の場合は、`bashcompinit` をロードした後に `wp-completion.bash` を読み込ませる必要があるかもしれません。`.zshrc` に次のコードを追加してください。 +ZSH の場合は、`bashcompinit` を読み込ませたあとに `wp-completion.bash` を読み込ませる必要があるかもしれません。`.zshrc` へ次のコードを追加してください。 ```bash autoload bashcompinit @@ -147,32 +115,32 @@ source /FULL/PATH/TO/wp-completion.bash ## サポート -WP-CLI のメンテナーとその貢献者が一般的な質問に答えられる時間は限られています。[最新版](https://make.wordpress.org/cli/handbook/roadmap/)のみが公式にサポートされるバージョンです。 +WP-CLI のメンテナーとその貢献者たちが一般的な質問に答えられる時間は限られています。[最新版](https://make.wordpress.org/cli/handbook/roadmap/) のみが公式にサポートされるバージョンです。 -サポートを受けたいときは、まず、以下のリソースの中から答えを探してみましょう。 +もしサポートを探しているなら、まず初めに以下のリソースの中から答えを探してください。 -- [Common issues and their fixes](https://make.wordpress.org/cli/handbook/common-issues/) -- [WP-CLI handbook](https://make.wordpress.org/cli/handbook/) -- [Open or closed issues in the WP-CLI GitHub organization](https://github.com/issues?q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -- [Threads tagged 'WP-CLI' in the WordPress.org support forum](https://wordpress.org/support/topic-tag/wp-cli/) -- [Questions tagged 'WP-CLI' in the WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) +* [Common issues and their fixes](https://make.wordpress.org/cli/handbook/common-issues/) +* [WP-CLI handbook](https://make.wordpress.org/cli/handbook/) +* [Open or closed issues on Github](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) +* [Threads tagged 'WP-CLI' in the WordPress.org support forum](https://wordpress.org/support/topic-tag/wp-cli/) +* [Questions tagged 'WP-CLI' in the WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) -上記いずれかの方法で回答を見つけられなかった場合は: +もし、上のいずれかの方法で回答を見つけられなかった場合は: -- [WordPress.org Slack](https://make.wordpress.org/chat/) の `#cli` チャンネルに参加して、そこにいる人に尋ねてみてください。これが最も手っ取り早い方法です。 -- WordPress サポートフォーラムに[新しいスレッドを投稿](https://wordpress.org/support/forum/wp-advanced/#new-post)し、'WP-CLI' というタグを付けてコミュニティ内で見つけやすくします。 +* [WordPress.org Slack](https://make.wordpress.org/chat/) の `#cli` に参加して、そこにいる人に尋ねてみてください。これがもっとも手っ取り早い方法です。 +* [WordPress サポートフォーラムで新しいスレッドを投稿](https://wordpress.org/support/forum/wp-advanced/#new-post) して、'wp-cli' というタグをつけてコミュニティが見つけやすくしてください。 -GitHub Issues は、既存のコマンドの改良やバグを追跡するために使われており、一般的なサポートのためには使われていません。バグレポートを投稿する際には、[ベストプラクティス](https://make.wordpress.org/cli/handbook/bug-reports/)を確認して、あなたの抱える問題が適時確実に伝わるように心がけてください。 +GitHub Issues は、既存のコマンドの改良やバグを追跡するために使用されており、一般的なサポートのためには使用されていません。バグレポートを投稿する際には、[ベストプラクティス](https://make.wordpress.org/cli/handbook/bug-reports/)を確認して、あなたが抱える問題が適時確実に伝わるように心がけてください。 -Twitter でサポート用の質問を尋ねるのはご遠慮ください。Twitter は、1) 文字数が 280 文字以下に制限され会話を行うのが難しい、2) 過去の会話から他の人の同じ質問を検索することが難しい、などの理由によりサポートを行う場としてふさわしくないからです。 +Twitterでサポート用の質問をたずねるのはおやめください。Twitterは、文字数が140文字以下であり会話を行うのが難しい、過去の会話から他の人の同じ質問を検索することが難しい、等の理由によりサポートを行う場としてふさわしくありません。 -自由は無料とは違います。オープンソースライセンスはあなたが自由に使ったり編集したりする権利を保証しますが、他の誰かの時間を浪費することを保証しているわけではありません。サポートを受けるに当たっては、敬意を持ち、過度な期待をしないように心がけてください。 +自由は無料とは違います。オープンソースはあなたに自由に使ったり編集したりする権利を保証しますが、他の誰かの時間を浪費することを保証しているわけではありません。敬意をもって、過度な期待をしないように心がけてください。 ## 拡張 -それぞれの **コマンド** は、WP-CLI の関数の一つとして定義されています。`wp plugin install` ([ドキュメント](https://developer.wordpress.org/cli/commands/plugin/install/)) はその一つで、`wp plugin activate` ([ドキュメント](https://developer.wordpress.org/cli/commands/plugin/activate/)) もまた、その一つです。 +それぞれの **コマンド** は、WP-CLI の関数の一つとして定義されています。`wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) はそのうちのひとつであり、`wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) は別のもうひとつです。 -WP-CLI では、さまざまな実行可能なクラス、関数、クロージャをコマンドとして実行できます。コマンドの実行に必要な情報は PHPDoc で記述します。 `WP_CLI::add_command()` ([ドキュメント](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) は、内部コマンドおよびサードパーティコマンドの登録に使われています。 +WP-CLI では、様々な実行可能なクラス、関数、クロージャをコマンドとして実行することが可能です。コマンドとして実行されるために必要な情報は、PHPdoc によって記述します。 `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) は、内部コマンド及びサードパーティコマンドの登録に使用されています。 ```php /** @@ -202,34 +170,34 @@ $delete_option_cmd = function( $args ) { WP_CLI::add_command( 'option delete', $delete_option_cmd ); ``` -WP-CLI は多くのコマンドで構成され、意外と簡単にカスタムコマンドを作ることができます。詳しくは [commands cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/) を参照してください。[内部 API のドキュメント](https://make.wordpress.org/cli/handbook/references/internal-api/)には、カスタムコマンドで使用できるさまざまな便利機能が載っています。 +WP-CLI は、多くのコマンドにより構成されており、カスタムコマンドを作ることは意外と簡単です。[commands cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/)を読んでください。 ## 貢献 -ようこそ ! ありがとう ! +ようこそ、そしてありがとう! -私たちは、みなさんが率先して貢献してくださることに感謝します。あなたやあなたのまわりのコミュニティによって、WP-CLI はすばらしいプロジェクトになります。 +私たちは、みなさんが率先して貢献してくれることに感謝しています。あなたやあなたのまわりのコミュニティによって、WP-CLIはすばらしいプロジェクトになります。 -**貢献はコードを書くことだけに留まりません。** 私たちは、チュートリアルを書いたり、地元のミートアップでデモを行ったり、ユーザーの質問に回答したり、ドキュメントを改訂したりと、あなたの能力に合った方法で貢献していただきたいと思っています。 +**貢献は単にコードだけではありません。** 私たちは、チュートリアルを書く、地元のミートアップでデモを行う、ユーザーの質問への回答、ドキュメントの改訂など、あなたの日々の活動に応じた貢献をお願いしています。 -ハンドブックに掲載されている[貢献者向けガイドライン](https://make.wordpress.org/cli/handbook/contributions/contributing/)を読めば、どのように貢献できるかを詳しく知ることができます。ガイドラインに従うことで、本プロジェクトの他の貢献者たちとのコミュニケーションが円滑になります。彼らは、世界をまたがってあなたと一緒に働くことに、最大限の敬意を払う努力をします。 +プロジェクトに参加するには、ハンドブックの[貢献者向けガイドライン](https://make.wordpress.org/cli/handbook/contributing/)をよく読んでください。ここに書かれていることに従うことで、本プロジェクトの他の貢献者たちとのコミュニケーションを円滑にすることができます。彼らは、世界をまたがってあなたと一緒に働くことに、最大限の敬意を払う努力をします。 ### プロジェクトリーダー -WP-CLI にはプロジェクトメンテナーがいます: [schlessera](https://github.com/schlessera) です。 +WP-CLI には2人のメンテナーがいます: [danielbachhuber](https://github.com/danielbachhuber) と [schlessera](http://github.com/schlessera) です。 -能力があり、プロジェクト発展のため時間をかけていることを示してくれた貢献者には[コミット権限を与えることがあります](https://make.wordpress.org/cli/handbook/committers-credo/)。 +能力があり、プロジェクトを発展させるために、時間をかけて投資していることを示してくれたコントリビューターへ、[コミット権限を与えることがあります](https://make.wordpress.org/cli/handbook/committers-credo/)。 -プロジェクト運営についての詳細を知りたいときは、[ハンドブック内のガバナンス](https://make.wordpress.org/cli/handbook/governance/)を読んでください。 +プロジェクトの運営に関する詳細については、[ハンドブック内のガバナンス](https://make.wordpress.org/cli/handbook/governance/) を読んで下さい。 ## クレジット [composer.json](https://github.com/wp-cli/wp-cli/blob/master/composer.json) に記載されているライブラリに依存しており、以下のプロジェクトからコードやアイディアを得ています。 -- [Drush](https://github.com/drush-ops/drush) for... a lot of things -- [wpshell](https://code.trac.wordpress.org/browser/wpshell) for `wp shell` -- [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) for `wp media regenerate` -- [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) for `wp search-replace` -- [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) for `wp export` -- [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) for `wp import` -- [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) for `wp scaffold plugin-tests` +* [Drush](https://github.com/drush-ops/drush) for... a lot of things +* [wpshell](https://code.trac.wordpress.org/browser/wpshell) for `wp shell` +* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) for `wp media regenerate` +* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) for `wp search-replace` +* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) for `wp export` +* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) for `wp import` +* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) for `wp scaffold plugin-tests` diff --git a/ne/index.md b/ne/index.md index 9be0390e..e2d4d040 100644 --- a/ne/index.md +++ b/ne/index.md @@ -1,14 +1,13 @@ --- layout: default title: वर्डप्रेसको लागि कमाण्ड लाइन इन्टरफेस -direction: ltr --- [WP-CLI](https://wp-cli.org/) कमाण्ड लाइन औजारहरुको संग्रह हो जुन [वर्डप्रेस](https://wordpress.org/) व्यवस्थापन गर्न प्रयोग गरिन्छ । ब्राउजर बिना नै प्लगिन अद्यावधिक गर्न, बहुसाइट कन्फिगर गर्न तथा अन्य धेरै कामको लागि यो प्रयोग गर्न सकिन्छ । -अद्यावधिक हुन, [टुइटरमा @wpcli](https://twitter.com/wpcli) फलो गर्नुहोस् वा [इमेल न्यूजलेटरको लागि साइन अप गर्नुहोस्](https://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e) । +अद्यावधिक हुन, [टुइटरमा @wpcli](https://twitter.com/wpcli) फलो गर्नुहोस् वा [इमेल न्यूजलेटरको लागि साइन अप गर्नुहोस्](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e) । -[![Testing](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "समस्या समाधान गर्न लाग्ने औसत समय") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "खुला मुद्दाहरू प्रतिशतमा") +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "समस्या समाधान गर्न लाग्ने औसत समय") [![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "खुला मुद्दाहरू प्रतिशतमा") द्रुत लिंकहरु: [प्रयोग](#section) | [स्थापना](#section-1) | [सहायता](#section-4) | [विस्तार](#section-5) | [योगदान](#section-6) | [श्रेय](#section-8) @@ -44,11 +43,11 @@ Phar फाइल डाउनलोड गरेर स्थापना ग स्थापना गर्नु अघि कृपया न्यूनतम आवश्यकताहरू पूरा भएको निश्चित गर्नुहोस्: -- UNIX जस्तै वातावरण (OS X, Linux, FreeBSD, Cygwin); Windows वातावरणमा सीमित समर्थन +- UNIX जस्तै वातावरण (OS X, Linux, FreeBSD, Cygwin); Windows वातावरणमा सीमित समर्थन - PHP 5.3.29 वा पछि - वर्डप्रेस 3.7 वा पछि -आवश्यकताहरु प्रमाणित गरिसकेपछि `wget` वा `curl` प्रयोग गरि [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) फाइल डाउनलोड गर्नुहोस्: +आवश्यकताहरु प्रमाणित गरिसकेपछि `wget` वा `curl` प्रयोग गरि [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) फाइल डाउनलोड गर्नुहोस्: ``` $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar @@ -113,7 +112,7 @@ source /FULL/PATH/TO/wp-completion.bash - [बग प्रतिवेदनको लागि उत्तम अभ्यासहरू](https://wp-cli.org/docs/bug-reports/) - [दस्तावेज पोर्टल](https://wp-cli.org/docs/) - [Github मा खुल्ला तथा बन्द समस्याहरु](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) -- [वर्डप्रेस StackExchange फोरम](https://wordpress.stackexchange.com/questions/tagged/wp-cli) +- [वर्डप्रेस StackExchange फोरम](http://wordpress.stackexchange.com/questions/tagged/wp-cli) यदि तपाईंले ती स्रोतहरूमा आफ्नो जवाफ पाउन सक्नुभएन भने [WordPress.org Slack organization](https://make.wordpress.org/chat/) मा `#cli` च्यानलमा सामेल भई प्रश्न सोध्न सक्नुहुन्छ। व्यावसायिक प्रयोगकर्ताहरुले प्रिमियम सहायताको लागि [runcommand](https://runcommand.io/) मा पनि सम्पर्क गर्न सक्नुहुन्छ । @@ -179,9 +178,9 @@ WP-CLI मा यी व्यक्तिहरूको नेतृत्व [composer.json](composer.json) मा परिभाषित बाहेक हामीले निम्न परियोजनाहरुबाट कोड वा विचारहरु प्रयोग गरेका छौं: -* [Drush](https://www.drush.org/) धेरै कुराहरुको लागि -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) `wp shell` को लागि -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) `wp media regenerate` को लागि +* [Drush](http://drush.ws/) धेरै कुराहरुको लागि +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) `wp shell` को लागि +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) `wp media regenerate` को लागि * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) `wp search-replace` को लागि * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) `wp export` को लागि * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) `wp import` को लागि diff --git a/restful/index.md b/restful/index.md index 4630c8a2..06371d82 100644 --- a/restful/index.md +++ b/restful/index.md @@ -7,7 +7,7 @@ title: A more RESTful WP-CLI *Landing page last updated: August 1, 2016* -WP-CLI's mission is to be, quantitatively, the *fastest* interface for developers to manage WordPress. "A more RESTful WP-CLI" was a [Kickstarter-backed](https://www.kickstarter.com/projects/danielbachhuber/a-more-restful-wp-cli/description) project to unlock the potential of the [WordPress REST API](https://v2.wp-api.org/) at the command line. This funding supported 232.42 hours of [Daniel Bachhuber](https://danielbachhuber.com/)'s time towards making improvements to WP-CLI and the WP REST API. For a full debrief, [read the Post Status post about the project](https://poststatus.com/kickstarter-open-source-project/). +WP-CLI's mission is to be, quantitatively, the *fastest* interface for developers to manage WordPress. "A more RESTful WP-CLI" was a [Kickstarter-backed](https://www.kickstarter.com/projects/danielbachhuber/a-more-restful-wp-cli/description) project to unlock the potential of the [WordPress REST API](http://v2.wp-api.org/) at the command line. This funding supported 232.42 hours of [Daniel Bachhuber](http://danielbachhuber.com/)'s time towards making improvements to WP-CLI and the WP REST API. For a full debrief, [read the Post Status post about the project](https://poststatus.com/kickstarter-open-source-project/). Wait a second, what does it mean to "unlock the potential of the WP REST API at the command line"? Pragmatically, it means any endpoints registered in plugins or themes are *automagically* accessible as WP-CLI commands. For instance, if you were to register an endpoint for `GET /my-plugin/v1/product/`, this endpoint is also accessible on the command line as (more or less) `wp @prod product get `. @@ -43,7 +43,7 @@ Just like WordPress has plugins, the future of WP-CLI is [packages of commands]( In this model, WP-CLI becomes the common interface, and supporting application layer, to a rich ecosystem of features. Doing so opens more frontiers for innovation, which leads to a greater selection of ideas to choose from. And because more people are involved in authoring packages, WP-CLI benefits from a larger contributor pool. -As a result of the Kickstarter project, you can install WP-CLI packages from the Package Index with `wp package install`, [read through the commands cookbook](https://wp-cli.org/docs/commands-cookbook/) for a thorough introduction to creating a WP-CLI command, or use `wp scaffold package` ([repo](https://github.com/wp-cli/scaffold-package-command)) for the easiest way to generate the boilerplate for your new WP-CLI package, complete with functional tests. +As a result of the Kickstarter project, you can install WP-CLI packages from the Package Index with `wp package install`, [read through the commands cookbook](http://wp-cli.org/docs/commands-cookbook/) for a thorough introduction to creating a WP-CLI command, or use `wp scaffold package` ([repo](https://github.com/wp-cli/scaffold-package-command)) for the easiest way to generate the boilerplate for your new WP-CLI package, complete with functional tests. ### Documentation portal @@ -80,7 +80,7 @@ Releases: Presentations: * [My condolences, you’re now the maintainer of a popular open source project](https://runcommand.io/2016/06/26/my-condolences-youre-now-the-maintainer-of-a-popular-open-source-project/) - WordCamp Europe (June 25, 2016) -* [Unlocking the potential of the WP REST API at the command line](https://blog.handbuilt.co/2016/01/28/feelingrestful-a-more-restful-wp-cli/) - A Day of REST (January 28, 2016) +* [Unlocking the potential of the WP REST API at the command line](http://blog.handbuilt.co/2016/01/28/feelingrestful-a-more-restful-wp-cli/) - A Day of REST (January 28, 2016) *** @@ -161,17 +161,17 @@ This project is made possible thanks to the backing of many generous organizatio - + - + - + diff --git a/ro/index.md b/ro/index.md deleted file mode 100644 index 7082ed1a..00000000 --- a/ro/index.md +++ /dev/null @@ -1,203 +0,0 @@ ---- -layout: default -title: Interfața liniei de comandă pentru WordPress -direction: ltr ---- - -[WP-CLI](https://wp-cli.org/) este interfața liniei de comandă pentru [WordPress](https://wordpress.org/). Poți actualiza module, configura instalări multisit și multe altele, fără să folosești un navigator web. - -Întreținerea continuă este făcută posibilă de către: - - - -Lansarea stabilă curentă este [versiunea 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). Pentru anunțuri, urmărește [@wpcli pe Twitter](https://twitter.com/wpcli) sau [înregistrează-te pentru actualizări pe email](https://make.wordpress.org/cli/subscribe/). [Consultă foaia de parcurs](https://make.wordpress.org/cli/handbook/roadmap/) pentru o prezentare generală a ceea ce este plănuit pentru lansările viitoare. - -[![Stare compilare](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Durata medie pentru rezolvarea unei probleme](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Durata medie pentru rezolvarea unei probleme") [![Procentul problemelor încă deschise](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Procentul problemelor încă deschise") - -Legături rapide: [Folosire](#folosire) | [Instalare](#instalare) | [Asistență](#asistenta) | [Extindere](#extindere) | [Contribuție](#contribuire) | [Credite](#credite) - -## Folosire - -WP-CLI oferă o interfață de linie de comandă pentru multe acțiuni pe care le-ai putea executa în administrarea WordPress. De exemplu, `wp plugin install --activate` ([documentație](https://developer.wordpress.org/cli/commands/plugin/install/)) îți permite să instalezi și să activezi un modul WordPress: - -```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... -Unpacking the package... -Installing the plugin... -Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. -``` - -WP-CLI include de asemenea comenzi pentru multe lucruri pe care nu le poți face în administrarea WordPress. De exemplu, `wp transient delete --all` ([documentație](https://developer.wordpress.org/cli/commands/transient/delete/)) îți permite să ștergi unul sau toți tranzienții: - -```bash -$ wp transient delete --all -Success: 34 transients deleted from the database. -``` - -Pentru o introducere mai completă a utilizării WP-CLI, citește [Ghidul de inițiere rapidă](https://make.wordpress.org/cli/handbook/quick-start/). Sau vino alături de [prietenii shell](https://make.wordpress.org/cli/handbook/shell-friends/) pentru a afla despre utilitățile liniei de comandă. - -Deja te simți confortabil cu elementele de bază? Sari în [lista completă de comenzi](https://developer.wordpress.org/cli/commands/) pentru informații detaliate despre gestionarea temelor și modulelor, importarea și exportarea datelor, efectuarea operațiunilor de căutare-înlocuire în baza de date și mai multe. - -## Instalare - -Descărcarea fișierului Phar este metoda noastră de instalare recomandată pentru cei mai mulți utilizatori. Dacă ai nevoie, vezi și documentația noastră despre [metodele de instalare alternative](https://make.wordpress.org/cli/handbook/installing/) ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). - -Înainte să instalezi WP-CLI, te rog asigură-te că mediul tău respectă cerințele minime: - -- Mediu asemănător UNIX (OS X, Linux, FreeBSD, Cygwin); asistență limitată pentru mediul Windows -- PHP 5.6 sau mai recent -- WordPress 3.7 sau mai recent. Versiuniile mai vechi decât ultima versiune WordPress ar putea avea funcționalități degradate - -Odată ce ai verificat cerințele, descarcă fișierul [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) folosind `wget` sau `curl`: - -```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -``` - -Mai departe, verifică fișierul Phar pentru a vedea dacă funcționează: - -```bash -php wp-cli.phar --info -``` - -Pentru a folosi WP-CLI din lina de comandă tastând `wp`, fă fișierul executabil și mută-l undeva în PATH-ul tău. De exemplu: - -```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp -``` - -Dacă WP-CLI a fost instalat cu succes, ar trebui să vezi ceva asemănător când rulezi `wp --info`: - -```bash -$ wp --info -OS: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 -Shell: /bin/zsh -PHP binary: /usr/local/bin/php -PHP version: 7.0.22 -php.ini used: /etc/local/etc/php/7.0/php.ini -WP-CLI root dir: /home/wp-cli/.wp-cli/vendor/wp-cli/wp-cli -WP-CLI vendor dir: /home/wp-cli/.wp-cli/vendor -WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: /home/wp-cli/.wp-cli/config.yml -WP-CLI project config: -WP-CLI version: 2.12.0 -``` - -### Actualizare - -Poți actualiza WP-CLI cu `wp cli update` ([documentație](https://developer.wordpress.org/cli/commands/cli/update/)) sau repetând pașii de instalare. - -Dacă WP-CLI este deținut de root sau un alt utilizator de sistem, trebuie să rulezi `sudo wp cli update`. - -Vrei să trăiești viața la limită? Rulează `wp cli update --nightly` pentru a folosi ultima compilare nocturnă a WP-CLI. Compilarea nocturnă este mai mult sau mai puțin stabilă pentru a fi utilizată în mediul tău de dezvoltare și întotdeauna include ultimele și cele mai grozave funcționalități WP-CLI. - -### Auto-completare - -WP-CLI vine de asemenea cu un script de auto-completare pentru Bash și ZSH. Doar descarcă [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) și rulează source pe el din `~/.bash_profile`: - -```bash -source /FULL/PATH/TO/wp-completion.bash -``` - -Nu uita să rulezi apoi și `source ~/.bash_profile`. - -Dacă folosești zsh pentru shell-ul tău, trebuie să încarci și să pornești `bashcompinit` înainte de comanda source. Pune următoarele în `.zshrc`: - -```bash -autoload bashcompinit -bashcompinit -source /FULL/PATH/TO/wp-completion.bash -``` - -## Asistență - -Întreținătorii WP-CLI și contribuitorii au disponibilitate limitată pentru a răspunde la întrebările de asistență generală. [Versiunea curentă WP-CLI](https://make.wordpress.org/cli/handbook/roadmap/) este singura versiune oficială pentru care se oferă asistență. - -Când ai nevoie de asistență, te rog să cauți mai întâi întrebarea ta în aceste locuri: - -* [Probleme comune și remedierea lor](https://make.wordpress.org/cli/handbook/common-issues/) -* [Manual WP-CLI](https://make.wordpress.org/cli/handbook/) -* [Probleme deschise sau închise în WP-CLI GitHub](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* [Subiecte etichetate cu „WP-CLI” în forumul de asistență WordPress.org](https://wordpress.org/support/topic-tag/wp-cli/) -* [Întrebări etichetate cu „WP-CLI” în WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) - -Dacă n-ai găsit un răspuns într-unul dintre locațiile de mai sus, poți: - -* Să te alături canalului `#cli` în [WordPress.org Slack](https://make.wordpress.org/chat/) pentru a vorbi cu cineva care ar putea fi disponibil în acel moment. Această opțiune este cea mai bună pentru întrebări rapide. -* [Să postezi un subiect nou](https://wordpress.org/support/forum/wp-advanced/#new-post) în forumul de asistență WordPress.org și să-l etichetezi „WP-CLI” pentru a fi văzut de comunitate. - -Tichetele GitHub sunt menite să urmărească îmbunătățirile și erorile comenzilor existente, nu pentru asistență generală. Înainte să trimiți un raport de eroare, te rog să [revezi cele mai bune practici ale noastre](https://make.wordpress.org/cli/handbook/bug-reports/) pentru a te asigura că problema ta este abordată în timp util. - -Te rog nu adresa întrebări de asistență pe Twitter. Twitter nu este un loc acceptat pentru asistență pentru că: 1) este greu să ții conversații sub 280 de caractere și 2) Twitter nu este un loc unde cineva cu aceeași întrebare ca a ta poate căuta un răspuns într-o conversație anterioară. - -Ține minte, libre != gratis; licența pentru sursa deschisă îți oferă libertate de folosire și modificare, dar nu angajamentul timpului altor persoane. Te rog fii respectuos și setează-ți așteptările în consecință. - -## Extindere - -O **comandă** este unitatea atomică a funcționalității WP-CLI. `wp plugin install` ([documentație](https://developer.wordpress.org/cli/commands/plugin/install/)) este o comandă. `wp plugin activate` ([documentație](https://developer.wordpress.org/cli/commands/plugin/activate/)) este alta. - -WP-CLI suportă înregistrarea oricărei clase, funcție, sau închidere apelabilă ca o comandă. Ea citește detalii de folosire din blocul PHPdoc al funcției de apel. `WP_CLI::add_command()` ([documentație](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) este folosită și intern, și pentru înregistrarea comenzilor din terțe părți. - -```php -/** - * Delete an option from the database. - * - * Returns an error if the option didn't exist. - * - * ## OPTIONS - * - * - * : Key for the option. - * - * ## EXAMPLES - * - * $ wp option delete my_option - * Success: Deleted 'my_option' option. - */ -$delete_option_cmd = function( $args ) { - list( $key ) = $args; - - if ( ! delete_option( $key ) ) { - WP_CLI::error( "Could not delete '$key' option. Does it exist?" ); - } else { - WP_CLI::success( "Deleted '$key' option." ); - } -}; -WP_CLI::add_command( 'option delete', $delete_option_cmd ); -``` - -WP-CLI vine cu zeci de comenzi. Este mai ușor decât pare să creezi o comandă personalizată WP-CLI. Citește [cartea de bucate a comenzilor](https://make.wordpress.org/cli/handbook/commands-cookbook/) pentru a afla mai multe. Răsfoiește [documentația internă API](https://make.wordpress.org/cli/handbook/internal-api/) pentru a descoperi o varietate de funcții ajutătoare pe care le poți folosi în comanda ta personalizată WP-CLI. - -## Contribuție - -Apreciem că ai inițiativa de a contribui la WP-CLI. Datorită ție și comunității din jurul tău, acest WP-CLI este un proiect grozav. - -**Contribția nu este limitată doar la cod.** Te încurajăm să contribui în modul care se potrivește cel mai bine abilităților tale, scriind tutoriale, oferind un demo la meetup-ul tău local, ajutând alți utilizatori cu întrebările lor de asistență sau revizuind documentația. - -Citește prin [ghidul de contribuire din manual](https://make.wordpress.org/cli/handbook/contributing/) pentru o introducere detaliată a modului în care te poți implica. Urmând aceste instrucțiuni te ajută să comunici că respecți timpul altor contribuitori în proiect. La rândul lor, ei vor face tot ce le stă în putință pentru a-ți întoarce acest respect atunci când lucrează cu tine, în zonele de fus orar și în întreaga lume. - -## Leadership - -WP-CLI are un întreținător de proiect: [schlessera](https://github.com/schlessera). - -Ocazional, noi [acordăm acces de scriere contribuitorilor](https://make.wordpress.org/cli/handbook/committers-credo/) care au demonstrat, de-a lungul unei perioade de timp, că sunt capabili și investesc în avansarea proiectului. - -Citește [documentul de guvernanță din manual](https://make.wordpress.org/cli/handbook/governance/) pentru mai multe detalii operaționale despre proiect. - -## Credite - -Pe lângă bibliotecile definite în [composer.json](composer.json), am folosit cod sau idei din următoarele proiecte: - -* [Drush](https://github.com/drush-ops/drush) pentru... o grămadă de lucruri -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) pentru `wp shell` -* [Regenerează miniaturile](https://wordpress.org/plugins/regenerate-thumbnails/) pentru `wp media regenerate` -* [Caută-Înlocuiește-DB](https://github.com/interconnectit/Search-Replace-DB) pentru `wp search-replace` -* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) pentru `wp export` -* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) pentru `wp import` -* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) pentru `wp scaffold plugin-tests` diff --git a/tr/index.md b/tr/index.md index 14efb39a..ab2a24ce 100644 --- a/tr/index.md +++ b/tr/index.md @@ -1,41 +1,37 @@ --- layout: default title: WordPress için Komut Satırı Arayüzü -direction: ltr --- -[WP-CLI](https://wp-cli.org/), [WordPress](https://wordpress.org/) için komut satırı arayüzüdür. Eklenti güncellemesi, multisite kurulumların yapılandırılması ve daha birçok şeyi web tarayıcısına ihtiyaç duymadan gerçekleştirebilirsiniz. +[WP-CLI](https://wp-cli.org/) [WordPress](https://wordpress.org/) kurulumlarını yönetmek için komutlar sunan bir komut satırı aracıdır. Eklenti güncellemesi, multisite kurulumların yapılandırılması ve daha birçok şeyi web tarayıcısına ihtiyaç duymadan gerçekleştirebilirsiniz. -Süregelen bakım, aşağıdakiler sayesinde: - +Güncel kalmak için [@wpcli Twitter](https://twitter.com/wpcli) hesabını takip edebilir ya da [eposta bültenine abone olabilirsiniz](http://wp-cli.us13.list-manage.com/subscribe?u=0615e4d18f213891fc000adfd&id=8c61d7641e). -Mevcut kararlı sürüm [versiyon 2.3.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). Duyurular için [@wpcli Twitter](https://twitter.com/wpcli) hesabını takip edebilir ya da [eposta bültenine abone olabilirsiniz](https://make.wordpress.org/cli/subscribe/). Gelecek sürüm planına genel bir bakış için [yol haritasına göz atın](https://make.wordpress.org/cli/handbook/roadmap/). -[![Testing](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/wp-cli/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") +[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](http://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") -Bağlantılar: [Kullanım](#kullanm) | [Kurulum](#kurulum) | [Destek](#destek) | [Genişletmek](#geniletmek) | [Katkıda Bulunmak](#katkda-bulunmak) | [Jenerik](#jenerik) +Bağlantılar: [Kullanım](#kullanm) | [Kurulum](#kurulum) | [Destek](#destek) | [Genişletmek](#geniletmek) | [Katkıda Bulunmak](#katkda-bulunmak) | [Katkıda Bulunanlar](#katkda-bulunanlar) ## Kullanım -WP-CLI, WordPress yönetim panelinden gerçekleştirebileceğiniz çoğu işlem için komut-satırı arabirimi sunar. Örneğin `wp plugin install --activate` ([belge](https://developer.wordpress.org/cli/commands/plugin/install/)) bir WordPress eklentisini kurmanızı ve aktifleştirmenizi sağlar: +WP-CLI, WordPress yönetim panelinden gerçekleştirebileceğiniz tüm işlemler için komut-satırı arabirimi sunmayı amaçlar. Örneğin `wp plugin install --activate` ([belge](https://wp-cli.org/commands/plugin/install/)) bir WordPress eklentisini kurmanızı ve aktifleştirmenizi sağlar: ```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... +$ wp plugin install rest-api --activate +Installing WordPress REST API (Version 2) (2.0-beta13) +Downloading install package from https://downloads.wordpress.org/plugin/rest-api.2.0-beta13.zip... Unpacking the package... Installing the plugin... Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. +Activating 'rest-api'... +Success: Plugin 'rest-api' activated. ``` -WP-CLI ayrıca WordPress yönetim panelinden gerçekleştiremeyeceğiniz komutları da barındırır. Örneğin, `wp transient delete --all` ([belge](https://developer.wordpress.org/cli/commands/transient/delete/)) bir veya daha fazla transient'i silmenizi sağlar: +WP-CLI ayrıca WordPress yönetim panelinden gerçekleştiremeyeceğiniz komutları da barındırır. Örneğin, `wp transient delete --all` ([belge](https://wp-cli.org/commands/transient/delete/)) bir veya daha fazla transient'i silmenizi sağlar: ```bash @@ -43,69 +39,67 @@ $ wp transient delete --all Success: 34 transients deleted from the database. ``` -WP-CLI kullanımı hakkında daha detaylı bilgi için, [Hızlı Giriş belgesini](https://make.wordpress.org/cli/handbook/quick-start/) okuyun. Veya [shell friends](https://make.wordpress.org/cli/handbook/shell-friends/) belgesini okuyarak yararlı komut satırı yardımcı programları hakkında bilgi edinin. +WP-CLI kullanımı hakkında detaylı bilgi için, [Hızlı Giriş belgesini](https://wp-cli.org/docs/quick-start/) okuyun. -Temel şeyleri zaten biliyorum diyorsanız, direkt [komutlara](https://developer.wordpress.org/cli/commands/) dalıp tema ve eklenti yönetimi, veri aktarımı, veritabanı bul-değiştir işlemi ve dahası hakkında detaylı bilgiye ulaşabilirsiniz. +Temel şeyleri zaten biliyorum diyorsanız, direkt [komutlara](https://wp-cli.org/commands/) dalıp tema ve eklenti yönetimi, veri aktarımı, veritabanı bul-değiştir işlemi ve dahası hakkında detaylı bilgiye ulaşabilirsiniz. -## Kurulum -Çoğu kullanıcı için Phar dosyasını indirerek kurmalarını öneririz. Ayrıca, ihtiyacınız olursa [alternatif kurulum yöntemlerine](https://make.wordpress.org/cli/handbook/installing/) kurulum dökümanından ulaşabilirsiniz. ([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)). +## Kurulum +Phar dosyasını indirerek kurmanızı öneririz. İhtiyacınız olursa, [alternatif kurulum yöntemlerine](https://wp-cli.org/docs/installing/) kurulum dökümanından ulaşabilirsiniz. + Lütfen WP-CLI'i kurmadan önce minimum ortam gereksinimlerin karşılandığından emin olunuz: - UNIX-benzeri işletim sistemi (OS X, Linux, FreeBSD, Cygwin); Windows kısıtlı desteklenir -- PHP 5.6 veya sonrası -- WordPress 3.7 veya daha üst sürüm. Son WordPress sürümden eski sürümler daha az işlevsellik sunabilir +- PHP 5.3.29 veya daha üst sürüm +- WordPress 3.7 veya daha üst sürüm -Gerensinimleri karşıladıktan sonra, [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) dosyasını `wget` veya `curl` ile indirin: +Gerensinimleri karşıladıktan sonra, [wp-cli.phar](https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) dosyasını `wget` veya `curl` ile indirin: ```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar +$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar ``` Sonra, çalışıp çalışmadığını kontrol edin: ```bash -php wp-cli.phar --info +$ php wp-cli.phar --info ``` WP-CLI'e komut satırından `wp` yazarak erişebilmek için dosyayı çalıştırılabilir hale getirin ve PATH'de tanımlı olan bir yere taşıyın. Örneğin: ```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp +$ chmod +x wp-cli.phar +$ sudo mv wp-cli.phar /usr/local/bin/wp ``` Eğer kurulum başarılı bir şekilde tamamlandıysa, `wp --info` komutunu çalıştırdığınızda buna benzer birşey göreceksiniz: ```bash $ wp --info -OS: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 -Shell: /bin/zsh -PHP binary: /usr/local/bin/php -PHP version: 7.0.22 -php.ini used: /etc/local/etc/php/7.0/php.ini -WP-CLI root dir: /home/wp-cli/.wp-cli/vendor/wp-cli/wp-cli -WP-CLI vendor dir: /home/wp-cli/.wp-cli/vendor +PHP binary: /usr/bin/php5 +PHP version: 5.5.9-1ubuntu4.14 +php.ini used: /etc/php5/cli/php.ini +WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ WP-CLI global config: /home/wp-cli/.wp-cli/config.yml WP-CLI project config: -WP-CLI version: 2.3.0 +WP-CLI version: 0.25.0 ``` ### Güncelleme -WP-CLI'i `wp cli update` komutu ([belge](https://developer.wordpress.org/cli/commands/cli/update/)) ile veya kurulum adımlarını tekrarlayarak güncelleyebilirsiniz. - -Eğer WP-CLI, root veya başka bir sistem kullanıcısı tarafından sahiplenildiyse `sudo wp cli update` çalıştırmanız gerekecektir. +WP-CLI'i `wp cli update` komutu ([belge](https://wp-cli.org/commands/cli/update/)) ile veya kurulum adımlarını tekrarlayarak güncelleyebilirsiniz. -Sınırda yaşamayı seviyor musunuz? `wp cli update --nightly` komutu ile nightly build sürümüne güncelleyebilirsiniz. Geliştirme ortamınız için nightly build sürümler daha çok ya da az stabil olabilir ve her zaman en son ve yeni WP-CLI özelliklerini içerir. +Sınırda yaşamayı seviyor musunuz? `wp cli update --nightly` komutu ile nightly build sürümüne güncelleyebilirsiniz. Geliştirme ortamınız için nightly build sürümler daha çok yada az stabil olabilir ve her zaman en son ve yeni WP-CLI özelliklerini içerir. ### Sekme tamamlama -WP-CLI ayrıca, Bash ve ZSH için sekme tamamlama scripti sunar. Yapmanız gereken sadece [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) dosyasını indirmek ve kaynak olarak `~/.bash_profile` dosyanıza tanımlamak: +WP-CLI ayrıca, Bash ve ZSH için sekme tamamlama scripti sunar. Yapmanız gereken sadece [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash) dosyasını indirmek ve kaynak olarak `~/.bash_profile` dosyanıza tanımlamak: + + ```bash source /FULL/PATH/TO/wp-completion.bash @@ -121,36 +115,35 @@ bashcompinit source /FULL/PATH/TO/wp-completion.bash ``` -## Destek -WP-CLI'nin bakımcıları ve katılımcıları genel destek soruları için sınırlı müsaitliğe sahiptir. [Mevcut WP-CLI sürümu](https://make.wordpress.org/cli/handbook/roadmap/) resmi olarak desteklenen tek sürümdür. -Lütfen desteğe ihtiyacınız olduğünda, öncelikle sorunuzu aşağıdaki kaynaklarda arayın: +## Destek + +WP-CLI bakımcıları ve katılımcıları tüm yeni gelen soruları cevaplamak için ellerinden geleni yapmaktadır. Onların zamanını verimli kullanmak adına, lütfen öncelikle sorunuzun cevabını aşağıdaki kaynaklarda arayın: -* [Ortak sorunlar ve çözümleri](https://make.wordpress.org/cli/handbook/common-issues/) -* [WP-CLI el kitabı](https://make.wordpress.org/cli/handbook/) -* [GitHub organizasyonu üzerindeki açık veya kapalı konular](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* ['WP-CLI' ile etiketlenmiş WordPress.org destek forumları](https://wordpress.org/support/topic-tag/wp-cli/) -* ['WP-CLI' ile etiketlenmiş WordPress StackExchange soruları](https://wordpress.stackexchange.com/questions/tagged/wp-cli) -Eğer bu kaynaklarda sorularınıza cevap bulamazsanız: +- [Ortak sorunlar ve çözümleri](https://wp-cli.org/docs/common-issues/) +- [Dökümantasyon](https://wp-cli.org/docs/) +- [Github üzerindeki açık veya kapalı konular](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [runcommand Excerpts](https://runcommand.io/excerpts/) +- [WordPress StackExchange forumları](http://wordpress.stackexchange.com/questions/tagged/wp-cli) -* [WordPress.org Slack](https://make.wordpress.org/chat/) üzerinden `#cli` kanalında müsait olanlarla sohbet edebilirsiniz. Hızlı sorular için en iyi seçenektir. -* WordPress.org destek forumlarında [yeni bir konu](https://wordpress.org/support/forum/wp-advanced/#new-post) açıp, 'WP-CLI' etiketi ekleyin, böylece topluluk tarafından görülür. +Eğer bu kaynaklarda sorularınıza cevap bulamazsanız, [WordPress.org Slack organizasyonu](https://make.wordpress.org/chat/) üzerinden `#cli` kanalına katılın, topluluk üyelerinden birisi yardımcı olabilir. Profesyonel kullanıcılar, premium destek için ayrıca [runcommand](https://runcommand.io/) 'ı düşünebilirler. -Github konuları mevcut komutlar için yenilik ve hata takibi icin kullanılmaktadır, genel destek için değildir. Hata bildirimi göndermeden önce, sorununuz zamanında ele alınması için lütfen [hata bildirimi yöntemini](https://make.wordpress.org/cli/handbook/bug-reports/) gözden geçirin. +Github konuları mevcut komutlar için yenilik ve hata takibi icin kullanılmaktadır, genel destek için değildir. Hata bildirimi göndermeden önce, sorununuz zamanında ele alınması için lütfen [hata bildirimi yöntemini](ttps://wp-cli.org/docs/bug-reports/) gözden geçirin. -Lütfen Twitter üzerinden destek soruları sormayın. Twitter destek için iyi bir yer değildir, çünkü: 1) Yazışmaları 280 karakterin altında tutmak zor, ve 2) Twitter sizinle aynı soruna sahip birisinin önceki cevabı arayarak bulabileceği bir yer değil. +Lütfen Twitter üzerinden destek soruları sormayın. Twitter destek için iyi bir yer değildir çünkü: 1) Yazışmaları 140 karakterin altında tutmak zor, ve 2) Twitter sizinle aynı soruna sahip birisinin önceki cevabı arayarak bulabileceği bir yer değil. Unutmayın, özgür != ücretsiz; açık kaynak lisansı size özgürce kullanma ve değiştirme hakkı verir, başkalarının zamanını değil. Lütfen buna saygı duyun ve beklentilerinizi buna göre ayarlayın. + ## Genişletmek -Bir **Komut** WP-CLI'nin atomik birimidir. `wp plugin install` ([belge](https://developer.wordpress.org/cli/commands/plugin/install/)) bir komuttur. `wp plugin activate` ([belge](https://developer.wordpress.org/cli/commands/plugin/activate/)) başka bir komuttur. +**Komutlar** WP-CLI'nin atomik birimleridir. `wp plugin install` ([belge](https://wp-cli.org/commands/plugin/install/)) bir komuttur. `wp plugin activate` ([belge](https://wp-cli.org/commands/plugin/activate/)) başka bir komuttur. -WP-CLI çağrılabilen herhangi bir sınıfı, fonksiyonu ya da anonim fonksiyonu komut olarak kaydetmeyi destekler. Kullanım detaylarını callback'in PHP dökümanından (PHPdoc) okur. `WP_CLI::add_command()` ([belge](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)) dahili ve üçüncü-parti komutların kaydedilmesi için kullanılmaktadır. +WP-CLI çağrılabilen herhangi bir sınıfı, fonksiyonu yada anonim fonksiyonu komut olarak kaydetmeyi destekler. Kullanım detaylarını callback'in PHP dökümanından (PHPdoc) okur. `WP_CLI::add_command()` ([belge](https://wp-cli.org/docs/internal-api/wp-cli-add-command/)) dahili ve üçüncü-parti komutların kaydedilmesi için kullanılmaktadır. ```php /** @@ -181,35 +174,38 @@ WP_CLI::add_command( 'option delete', $delete_option_cmd ); ``` -WP-CLI onlarca komutla hazır olarak gelir. Özel bir WP-CLI komutu oluşturmak görünenden daha kolaydır. Detaylar için [komutlar tarif kitabına](https://make.wordpress.org/cli/handbook/commands-cookbook/) bakabilirsiniz. [Dahili API dökümantasyonunu](https://make.wordpress.org/cli/handbook/internal-api/) gözden geçirerek kendi WP-CLI komutunuzda kullanabileceğiniz faydalı fonksiyonları keşfedebilirsiniz. +WP-CLI onlarca komutla hazır olarak gelir. Özel bir WP-CLI komutu oluşturmak görünenden daha kolaydir. Detaylar için [komutlar belgesine](https://wp-cli.org/docs/commands-cookbook/) bakabilirsiniz. [Dahili API dökümantasyonunu](https://wp-cli.org/docs/internal-api/) gözden geçirerek kendi WP-CLI komutunuzda kullanabileceğiniz faydalı foksyionları keşfedebilirsiniz. ## Katkıda Bulunmak +Hoşgeldiniz ve teşekkürler! + WP-CLI'e katkıda bulunmak istediğiniz için teşekkür ederiz. WP-CLI siz ve sizin gibi topluluk üyeleri sayesinde bu kadar büyük bir proje olmayı başarabildi. -**Katkıda bulunmak sadece kod yazmakla sınırlı değildir.** Kendi yeteneklerinize uygun olacak şekilde; tanıtım yazıları yazarak, yerel etkinliklerde demo göstererek, başkalarının sorunlarına yardımcı olarak veya dökümantasyonumuzu gözden geçirerek katkıda bulunabilirsiniz. +**Katkıda bulunmak sadece kod yazmakla sınırlı değildir.** kendinize yeteneklerinize uygun olacak şekilde; tanıtım yazıları yazarak, yerel etkinliklerde demo göstererek, başkalarının sorunlarına yardımcı olarak veya dökümantasyonumuzu gözden geçirerek katkıda bulunabilirsiniz. Lütfen bir dakikanızı ayırıp [dökümanı detaylıca okuyun](https://wp-cli.org/docs/contributing/). Bunları takip ederek, katkıda bulunan diğer katılımcıların ayırdığı zamana saygı gösteriniz. Buna karşılık, onlar da aynı saygıyı sizinle çalışırken göstereceklerdir (zaman farkı gözetmeksizin, dünya genelinde). -Nasıl katılacağınıza dair kapsamlı bir giriş için [el kitabındaki katkı kurallarını](https://make.wordpress.org/cli/handbook/contributing/) okuyun. Bu kurallara uymak, projeye katkıda bulunan diğer üyelerin zamanına saygı duyduğunuzu bildirmenize yardımcı olur. Buna karşılık, onlar da bu saygıya karşılık vermek için ellerinden geleni zaman farkı gözetmeksizin, dünya genelinde yapacaktır. ## Yönetim +WP-CLI bu kişiler tarafından yönetiliyor: -WP-CLI'nın bir proje sorumlusu vardır: [schlessera](https://github.com/schlessera). +* [Daniel Bachhuber](https://github.com/danielbachhuber/) - şimdiki bakımcı +* [Cristi Burcă](https://github.com/scribu) - eski bakımcı +* [Andreas Creten](https://github.com/andreascreten) - kurucu -Zaman zaman, belli bir süre için yetenekli olduklarını kanıtlamış ve projeyi ileriye taşıyabilecek katılımcılara [yazma izni veriyoruz](https://make.wordpress.org/cli/handbook/committers-credo/). -Proje hakkında daha operasyonel ayrıntılar için [el kitabındaki yönetim belgesini](https://make.wordpress.org/cli/handbook/governance/) okuyabilirsiniz. +Projenin [yönetimi](https://wp-cli.org/docs/governance/) hakkında bilgi edinebilir ve [katkıda bulunanların tam listesini](https://github.com/wp-cli/wp-cli/contributors) görüntüleyebilirsiniz. -## Jenerik +## Katkıda Bulunanlar [composer.json](composer.json) dosyasında tanımlanan kütüphanelerin yanında, aşağıdaki projeleri de kod veya fikir için kullandık: -* [Drush](https://github.com/drush-ops/drush) birçok şey içın -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) `wp shell` komutu için -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) `wp media regenerate` komutu için +* [Drush](http://drush.ws/) birçok şey içın +* [wpshell](http://code.trac.wordpress.org/browser/wpshell) `wp shell` komutu için +* [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) `wp media regenerate` komutu için * [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) `wp search-replace` komutu içın * [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) `wp export` komutu içın * [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) `wp import` komutu içın diff --git a/zh-cn/index.md b/zh-cn/index.md deleted file mode 100644 index 6462a0d4..00000000 --- a/zh-cn/index.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -layout: default -title: WP-CLI | WP-CLI -direction: ltr ---- - -[WP-CLI](https://wp-cli.org/) 是一款用于管理 [WordPress](https://wordpress.org/) 的命令行界面,无需浏览器即可完成插件更新、多站点设置等操作。 - -持续的维护是通过以下方式实现的: - - - -目前的稳定版本是 [2.5.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/)。如果您想获取最新信息,请在 Twitter 上关注 [@wpcli](https://twitter.com/wpcli) 或者 [订阅邮件通知](https://make.wordpress.org/cli/subscribe/)。参阅 [产品路线图](https://make.wordpress.org/cli/handbook/roadmap/) 了解未来版本的更新规划。 - -[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open") - -导航链接:[使用](#使用) | [安装](#安装) | [支持](#支持) | [扩展](#扩展) | [贡献](#贡献) | [参考](#参考) - -## 使用 - -WP-CLI 为您在 WordPress 后台管理中的许多操作提供了一个命令行接口。例如,使用 `wp plugin install --activate`([说明文档](https://developer.wordpress.org/cli/commands/plugin/install/)) 安装并激活一个 WordPress 插件: - -```bash -$ wp plugin install user-switching --activate -Installing User Switching (1.0.9) -Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip... -Unpacking the package... -Installing the plugin... -Plugin installed successfully. -Activating 'user-switching'... -Plugin 'user-switching' activated. -Success: Installed 1 of 1 plugins. -``` - -WP-CLI 还包含许多您无法在 WordPress 后台管理中执行的操作命令。例如,`wp transient delete --all`([说明文档](https://developer.wordpress.org/cli/commands/transient/delete/))可以删除一个或所有的 Transients : - -```bash -$ wp transient delete --all -Success: 34 transients deleted from the database. -``` - -有关如何使用 WP-CLI 的更多内容请阅读《[Quick Start](https://make.wordpress.org/cli/handbook/quick-start/)》。您也可以在 [Shell Friends](https://make.wordpress.org/cli/handbook/shell-friends/) 了解实用的命令行工具。 - -如果已经熟悉基本命令,可以到 [WP-CLI Commands](https://developer.wordpress.org/cli/commands/) 了解更多有关主题及插件管理、数据导入与导出以及数据库操作的内容。 - -## 安装 - -我们推荐使用下载 Phar 文件的安装方法,如果需要使用[其他安装方法](https://make.wordpress.org/cli/handbook/installing/)([Composer](https://make.wordpress.org/cli/handbook/installing/#installing-via-composer), [Homebrew](https://make.wordpress.org/cli/handbook/installing/#installing-via-homebrew), [Docker](https://make.wordpress.org/cli/handbook/installing/#installing-via-docker)),请参阅相关文档。 - -在安装 WP-CLI 之前,请确保您的操作环境满足最低要求: - -- UNIX 环境(OS X,Linux,FreeBSD,Cygwin),某些功能在 Windows 中将受到限制。 -- PHP 5.6 或更高版本。 -- WordPress 3.7 或更高版本,较旧版本在功能上可能会有所减少。 - -检查好了操作环境,使用 `wget` 或 `curl` 下载 [wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar): - -```bash -curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -``` - -然后,检查 Phar 文件确保其正常运行: - -```bash -php wp-cli.phar --info -``` - -要使用 `wp` 执行 WP-CLI 命令,必须有执行权限并且 `PATH` 已在环境变量中注册,例如: - -```bash -chmod +x wp-cli.phar -sudo mv wp-cli.phar /usr/local/bin/wp -``` - -如果 WP-CLI 安装成功,当您运行 `wp --info` 时,可以看到类似下面的回显: - -```bash -$ wp --info -OS: Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 -Shell: /usr/bin/zsh -PHP binary: /usr/bin/php -PHP version: 8.0.5 -php.ini used: /etc/php/8.0/cli/php.ini -MySQL binary: /usr/bin/mysql -MySQL version: mysql Ver 8.0.23-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) -SQL modes: -WP-CLI root dir: /home/wp-cli/ -WP-CLI vendor dir: /home/wp-cli/vendor -WP_CLI phar path: -WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ -WP-CLI global config: -WP-CLI project config: /home/wp-cli/wp-cli.yml -WP-CLI version: 2.5.0 -``` - -### 更新 - -您可以用 `wp cli update`([说明文档](https://developer.wordpress.org/cli/commands/cli/update/))更新 WP-CLI,或者重复上述安装方法。 - -如果 WP-CLI 是由 root 或其他系统用户拥有,则需要执行 `sudo wp cli update` 操作。 - -如果您想体验最新版本,可以运行 `wp cli update --nightly` 来安装最新的 Nightly Builds 版本(每天更新的版本,不要用到生产环境) WP-CLI 工具。该版本在开发环境中有一定的稳定性,并且始终包含最新和最出色的 WP-CLI 功能。 - -### Tab 命令行补全 - -WP-CLI 带有用于 Bash 和 ZSH 的命令行补全脚本。下载 [wp-completion.bash](https://raw.githubusercontent.com/wp-cli/wp-cli/v2.12.0/utils/wp-completion.bash) 并在 `~/.bash_profile` 中加载即可,例如: - -```bash -source /FULL/PATH/TO/wp-completion.bash -``` - -然后运行 `source ~/.bash_profile` 使其生效. - -如果使用 zsh,需要在加载 `bashcompinit` 后载入 `wp-completion.bash`,将下面的内容放入 `.zshrc` 中即可: - -```bash -autoload bashcompinit -bashcompinit -source /FULL/PATH/TO/wp-completion.bash -``` - -## 支持 - -WP-CLI 的维护者和贡献者只有有限的时间回答常见问题,只有[最新版](https://make.wordpress.org/cli/handbook/roadmap/)的 WP-CLI 受到官方支持。 - -在寻求帮助时,请首先在下面资源中搜索您的问题: - -* [Common issues and their fixes](https://make.wordpress.org/cli/handbook/common-issues/) -* [WP-CLI handbook](https://make.wordpress.org/cli/handbook/) -* [Open or closed issues in the WP-CLI GitHub organization](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Awp-cli+is%3Aissue) -* [Threads tagged 'WP-CLI' in the WordPress.org support forum](https://wordpress.org/support/topic-tag/wp-cli/) -* [Questions tagged 'WP-CLI' in the WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/wp-cli) - -如果上面任何一种方式都找不到答案: - -* 加入 [WordPress.org 的 Slack](https://make.wordpress.org/chat/) 中的 `#cli` 频道,与当时可能有空的人聊天(这是最快的方法)。 -* 在 [WordPress 支持论坛](https://wordpress.org/support/forum/wp-advanced/#new-post) 上发布新帖子,并用 「wp-cli」标记它(以便被找到)。 - -GitHub Issues 用于跟踪现有命令的改进和 BUG,而不是常规支持。在提交 BUG 报告之前,请务必阅读手册中的 [Bug Reports](https://make.wordpress.org/cli/handbook/bug-reports/),以确保您的问题得到及时解决。 - -请不要在 Twitter 上提出问题,因为: - -1)一般很难用 280 个字符的对话解决问题; - -2)如果其他人与您拥有相同的问题,他们不能通过搜索其他人的历史聊天记录来获取答案。 - -开源许可证授予您使用和修改的权利,但不授予您浪费他人时间的权利。请您保持尊重! - -## 扩展 - -每个**命令**都被定义为一个 WP-CLI 功能,`wp plugin install`([说明文档](https://developer.wordpress.org/cli/commands/plugin/install/))是一个,而 `wp plugin activate`([说明文档](https://developer.wordpress.org/cli/commands/plugin/activate/))是另一个。 - -WP-CLI 支持各种可执行类、函数和闭包作为命令被执行。其在 PHPdoc 中读取详细的使用信息。使用 `WP_CLI::add_command()`([说明文档](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/))来注册内部命令和第三方命令。 - -```php -/** - * Delete an option from the database. - * - * Returns an error if the option didn't exist. - * - * ## OPTIONS - * - * - * : Key for the option. - * - * ## EXAMPLES - * - * $ wp option delete my_option - * Success: Deleted 'my_option' option. - */ -$delete_option_cmd = function( $args ) { - list( $key ) = $args; - - if ( ! delete_option( $key ) ) { - WP_CLI::error( "Could not delete '$key' option. Does it exist?" ); - } else { - WP_CLI::success( "Deleted '$key' option." ); - } -}; -WP_CLI::add_command( 'option delete', $delete_option_cmd ); -``` - -WP-CLI 包含丰富的命令。创建自定义的 WP-CLI 命令比看起来的要更加容易。阅读 [Commands Cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/) 了解更多内容,浏览 [Internal API](https://make.wordpress.org/cli/handbook/internal-api/) 发现更多创建自定义命令的实用功能。 - -## 贡献 - -感谢您主动为 WP-CLI 做出贡献!正因为您和社区的支持,才能使 WP-CLI 更加出色! - -**贡献不仅限于代码**,我们鼓励您在能力范围内作出贡献。比如编写教程、在会议上进行演示、帮助其他用户解决他们的问题,或者协助我们修改文档。 - -如果要参与该项目,请仔细阅读手册中的 [Contributing](https://make.wordpress.org/cli/handbook/contributing/) 。遵循这些准则有助于与该项目的其他贡献者进行交流,他们将竭尽全力与您合作。 - -## 管理者 - -WP-CLI 项目维护者: [schlessera](https://github.com/schlessera)。 - -我们将写权限授予[受信任的贡献者](https://make.wordpress.org/cli/handbook/committers-credo/),这些贡献者已经证明他们有能力并有时间开发该项目。 - -阅读手册中的 [Governance](https://make.wordpress.org/cli/handbook/governance/),获取有关该项目的更多操作详细信息。 - -## 参考 - -除了 [composer.json](https://wp-cli.org/composer.json) 中定义的库之外,我们还使用了以下项目的代码或想法: - -* [Drush](https://github.com/drush-ops/drush) 用于很多事情 -* [wpshell](https://code.trac.wordpress.org/browser/wpshell) 用于 `wp shell` -* [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) 用于 `wp media regenerate` -* [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) 用于 `wp search-replace` -* [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) 用于 `wp export` -* [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) 用于 `wp import` -* [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) 用于 `wp scaffold plugin-tests`