Skip to content

[6.x] Add --preset option to assets:generate-presets#14626

Merged
jasonvarga merged 5 commits intostatamic:6.xfrom
ryanmitchell:feature/generate-presets
May 8, 2026
Merged

[6.x] Add --preset option to assets:generate-presets#14626
jasonvarga merged 5 commits intostatamic:6.xfrom
ryanmitchell:feature/generate-presets

Conversation

@ryanmitchell
Copy link
Copy Markdown
Contributor

@ryanmitchell ryanmitchell commented May 8, 2026

This PR adds the ability to specify the preset you want to generate on php please assets:generate-presets, eg:

php please assets:generate-presets --preset=my_preset

there is also a special case for cp_thumbmail (which is our use case) which regenerates those, as they have a different name depending on the orientation.

php please assets:generate-presets --preset=cp_thumbnail

ryanmitchell and others added 5 commits May 8, 2026 10:19
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga merged commit 41d97f1 into statamic:6.x May 8, 2026
17 checks passed
@ryanmitchell ryanmitchell deleted the feature/generate-presets branch May 8, 2026 20:40
@ryanmitchell
Copy link
Copy Markdown
Contributor Author

Thank you

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 this pull request may close these issues.

2 participants