wp-cli / media-command

Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
MIT License
44 stars 41 forks source link

Add `--file_name=<name>` argument for `wp media import` #187

Closed sandeshjangam closed 1 year ago

sandeshjangam commented 1 year ago

Added a slug option for media

Issue - https://github.com/wp-cli/media-command/issues/186

danielbachhuber commented 1 year ago

Can you include some functional tests? Here's the documentation on how to do so:

@sandeshjangam If it's helpful, here's a video I put together too: https://github.com/wp-cli/wp-cli/issues/5858

sandeshjangam commented 1 year ago

@danielbachhuber Done with the functional test. Thanks for the reference.