Skip to content

Add typed JSON output to autocorrect status - #8931

Draft
gonzaloriestra wants to merge 1 commit into
mainfrom
gonzalo/autocorrect-status-json
Draft

gonzaloriestra wants to merge 1 commit into
mainfrom
gonzalo/autocorrect-status-json

Conversation

@gonzaloriestra

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

config autocorrect status has no typed JSON result, so scripts cannot reliably read the preference.

Related to https://github.com/shop/issues-develop/issues/24282.

WHAT is this pull request doing?

Add --json with a strict {enabled: boolean} result and discoverable schema. Separate the preference query from the shared presenter while preserving terminal messages. Remove the command's migration exception and refresh the manifest and generated documentation.

How to manually test your changes?

  • Run pnpm shopify config autocorrect status --json --no-input and check that the result contains the current enabled value.
  • Run pnpm shopify config autocorrect status --json-schema to inspect the result schema.
  • Run pnpm shopify config autocorrect status to check the terminal message.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — added a minor changeset.

@github-actions github-actions Bot added shopify.dev preview Area: @shopify/cli @shopify/cli package issues labels Oct 16, 2026
@gonzaloriestra
gonzaloriestra added this pull request to stack #8934 October 16, 2026 14:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant