Skip to content

Add package name argument to wp package update #207

Closed

Description

@baizmandesign

The wp package update command updates all outdated packages. I'd like to be able to update one specific package like so:

wp package update vendor/package-name

I'm also tempted to suggest bringing it in line with the plugin update and theme update commands, which at minimum would...

  • require one or more package name arguments (which, I acknowledge, breaks existing functionality, and is very bad)
  • suggest the addition of an --all flag to re-implement the current behavior (wp package update --all)

Thoughts?

Activity

  1. transferred this issue fromwp-cli/ideason Jan 9, 2026
  2. added
    command:package-update
    scope:distribution
    on Jan 9, 2026
  3. swissspidy commented on Jan 12, 2026

    @swissspidy
    Member

    Let's start with supporting one or more packages to be updated, maintaining backward compatibility.

  4. baizmandesign commented on Jan 12, 2026

    @baizmandesign
    ContributorAuthor

    @swissspidy Starting with specifying one or more packages to be updated sounds good. I'll get working on it soon and submit a PR when it's ready. (Some of the Behat testing framework is still a bit foreign to me, and I may need to request your assistance with it.)

  5. swissspidy commented on Jan 12, 2026

    @swissspidy
    Member

    No worres :) Happy to help with the setup!

    I actually had Copilot draft something in #208 if you wanna check it out.

  6. baizmandesign commented on Jan 15, 2026

    @baizmandesign
    ContributorAuthor

    @swissspidy Thanks! I'll take a look at it shortly. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

command:package-updatescope:distributionstate:unconfirmed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions