Skip to content

Add --force option to overwrite#102

Merged
BrianHenryIE merged 3 commits into
wp-cli:mainfrom
GeoJunkie:fix/99-overwrite-option
Sep 17, 2024
Merged

Add --force option to overwrite#102
BrianHenryIE merged 3 commits into
wp-cli:mainfrom
GeoJunkie:fix/99-overwrite-option

Conversation

@GeoJunkie

Copy link
Copy Markdown
Contributor

Fixes #99

Adds a --force option that forces overwrite of an existing file. This prevents having to answer the prompt inside a script.

--force was chosen to match the wp plugin/theme install command options.

Added a test for the new option.

Part of wp-cli/wp-cli#5985

@GeoJunkie GeoJunkie requested a review from a team as a code owner September 17, 2024 23:09
@BrianHenryIE BrianHenryIE merged commit a525f7d into wp-cli:main Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to overwrite the zip file

2 participants