Closed BrianHenryIE closed 11 months ago
@BrianHenryIE This makes sense for me. We could prompt for confirmation if the file already exists. Given we haven't tagged 3.0.0 yet, we can make it a breaking change.
I would like to work on this, although not sure if I'll be able to finish it today.
🚢
Feature Request
Describe your use case and the problem you are facing
I regularly forget to change the plugin version number before running this command, which then overwrites the previous archive.
Describe the solution you'd like
An option to halt if the file already exists, ~
--no-overwrite
(is there any convention for such an argument?), which would perform afile_exists()
and print a helpful message as it exits.