Updating multiple specific plugins from command line in one go partly broken
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
When using the command line to update specific plugins via handles, this used to work:
./craft update plugin1 plugin2 plugin3 ...
Something changed fairly recently so that when doing a command like this, it only picks out the first plugin in the list to update. In the above case, it would then present you with the equivalent of:
Performing one update:
- plugin1 x.x.x => x.x.x
When issuing ./craft help update we still get:
...
- handle: string
.... You can pass multiple handles separated by spaces, ...
...
Steps to reproduce
[As above]
Additional info
- Craft version: 3.5.9
- PHP version: 7.2.24
- Database driver & version: MySQL 5.7.32
- Plugins & versions: N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the issue with ./craft update plugin1 plugin2 plugin3 and inspect the command handling for plugin handles; done means all specified plugins are selected for update and ./craft help update remains accurate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100