Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document console command
Closes #1 #2
  • Loading branch information
sjelfull committed Nov 21, 2018
1 parent 2ae0c78 commit 408f194
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -171,5 +171,14 @@ There is 3 ways to pretransform images:
- Manually through element action
- Console command that takes either folder id or volume handle as argument

## Console command

To transform assets in a volume:
`./craft help imager-pretransform/default/index --volume=<volumeHandle> or -v <volumeHandle>`

To transform assets in a folder:
`./craft help imager-pretransform/default/index --folderId=<folder id>`

By default, the command will only transform the topmost folder of the volume or the specified folder by id. To include all subfolders, add the `--include-subfolders / -s` param.

Brought to you by [Superbig](https://superbig.co)

0 comments on commit 408f194

Please sign in to comment.