Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Target to be a path without filename #48

Closed
janw-me opened this issue Feb 20, 2022 · 0 comments · Fixed by #49
Closed

Allow Target to be a path without filename #48

janw-me opened this issue Feb 20, 2022 · 0 comments · Fixed by #49

Comments

@janw-me
Copy link
Member

janw-me commented Feb 20, 2022

Feature Request

Right now the [<target>] argument expects path + filename. I would just like to specify the target directory with the default filename,

Example:
In a plugin folder: wp dist-archive . ~/Downloads/plugins/
This will now create ~/Downloads/plugins/.zip
I would like it to be ~/Downloads/plugins/plugin-slug.1.2.3.zip

Also wp dist-archive . ~/Downloads/plugins now flatout doesn't do anything, but a success message is given.

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 a pull request may close this issue.

1 participant