Skip to content

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

Merged
brandonkelly merged 5 commits into5.xfrom
feature/cms-1348-resaveall-to-check-if-provided-options-are-supported
Nov 19, 2024
Merged

check if options passed to resave/all are supported by subcommands#16148
brandonkelly merged 5 commits into5.xfrom
feature/cms-1348-resaveall-to-check-if-provided-options-are-supported

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Nov 19, 2024

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
Copy link
Copy Markdown

linear Bot commented Nov 19, 2024

@i-just i-just requested a review from brandonkelly November 19, 2024 12:01
@brandonkelly brandonkelly merged commit 46d941c into 5.x Nov 19, 2024
@brandonkelly brandonkelly deleted the feature/cms-1348-resaveall-to-check-if-provided-options-are-supported branch November 19, 2024 16:52
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