Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

Addresses #98 implementation by documenting how to install WP-CLI packages, including version constraint syntax for wp package install.

Changes

  • New guide (guides/installing-packages.md): General guide for installing WP-CLI packages with sections on:

    • What WP-CLI packages are
    • How to install packages (by name, Git URL, local directory, .zip file)
    • Version constraints with common examples for exact versions, ranges (^, ~), stability flags (@stable), and development branches
    • Defers to official Composer documentation for detailed explanations on version constraints
  • Updated guide index (guides.md): Added new guide to listing

Example Usage

# Install a package by name
wp package install wp-cli/server-command

# Install from a Git URL
wp package install https://github.com/wp-cli/server-command.git

# Install with version constraint
wp package install wp-cli/server-command:^2.0

# Install stable version
wp package install wp-cli/server-command:@stable

> [!WARNING]
>
>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Nov 4, 2025
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for package version constraints Add documentation for package version constraints Nov 4, 2025
Copilot AI requested a review from swissspidy November 4, 2025 11:36
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Copilot AI changed the title Add documentation for package version constraints Add documentation for installing WP-CLI packages Jan 20, 2026
@swissspidy swissspidy marked this pull request as ready for review January 20, 2026 16:30
@swissspidy swissspidy requested a review from a team as a code owner January 20, 2026 16:30
Co-authored-by: Nilambar Sharma <ernilambar@users.noreply.github.com>
@swissspidy swissspidy merged commit 95c8ad6 into main Jan 20, 2026
6 checks passed
@swissspidy swissspidy deleted the copilot/add-documentation-version-constraints branch January 20, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants