craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 634 forks source link

check if options passed to `resave/all` are supported by subcommands #16148

Closed i-just closed 3 days ago

i-just commented 3 days ago

Description

The resave/all command now checks if the options it’s being run with (like --with-fields) are supported by each command it’s supposed to call. If not (and the command is run interactively), ask a user to confirm if they wish to proceed, and if so (or the command isn’t run interactively), run it for the actions that support all the options.

Screenshot 2024-11-19 at 11 57 47

Related issues

cms-1348

linear[bot] commented 3 days ago

CMS-1348 `resave/all` to check if provided options are supported