Skip to content

Commit

Permalink
Merge pull request #106 from wp-cli/update/readme-file
Browse files Browse the repository at this point in the history
Update readme file
  • Loading branch information
swissspidy authored Feb 2, 2025
2 parents a639e95 + ad9d31b commit ce4774e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contr
## Using

~~~
wp dist-archive <path> [<target>] [--create-target-dir] [--plugin-dirname=<plugin-slug>] [--format=<format>] [--filename-format=<filename-format>]
wp dist-archive <path> [<target>] [--create-target-dir] [--force] [--plugin-dirname=<plugin-slug>] [--format=<format>] [--filename-format=<filename-format>]
~~~

For a plugin in a directory 'wp-content/plugins/hello-world', this command
Expand Down Expand Up @@ -44,6 +44,9 @@ script in each project.
[--create-target-dir]
Automatically create the target directory as needed.

[--force]
Forces overwriting of the archive file if it already exists.

[--plugin-dirname=<plugin-slug>]
Set the archive extract directory name. Defaults to project directory name.

Expand Down

0 comments on commit ce4774e

Please sign in to comment.