Skip to content

Support --no-extract in wp core download #202

@swissspidy

Description

@swissspidy

Feature Request

Describe your use case and the problem you are facing

Feature request from Slack:

Hey, is it possible to download the WordPress archive with wp-cli command and extract it with another command?

Use case : I need to cache wp archives, but I need to install with the user permissions. (Cache only works with root permissions), because we need to share archives between all server users. Any advices?

Describe the solution you'd like

Adding an --extract argument that defaults to true and can be opted out from using --no-extract.

If opted out, WP-CLI would just download the archive to the target location but not extract it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions