wp-cli / dist-archive-command

Create a distribution .zip or .tar.gz based on a plugin or theme's .distignore file
https://developer.wordpress.org/cli/commands/dist-archive/
MIT License
47 stars 23 forks source link

Option missing [--filename-format=<filename-format>] #98

Closed Niloys7 closed 1 month ago

Niloys7 commented 1 month ago

Hi, In this article, there is an option to include the version in the zip file name. But when I run wp help dist-archive I can see this option is missing [--filename-format=<filename-format>]

CleanShot 2024-08-11 at 21 41 15

I also try to run this but getting an error

CleanShot 2024-08-11 at 21 43 20

ernilambar commented 1 month ago

Can you please check version of the command? Is it 3.0.1? You can check using following command wp package list.

Niloys7 commented 1 month ago

The version was dev-main I just updated it to stable, and now it's showing the last parameter. Thanks @ernilambar