The Wire · Showcase
CLI AUTOMATION SWEEP KILLS INTERACTIVE PROMPTS ACROSS SHOPIFY TOOLS
By RepoJournal · Filed · About Shopify
Shopify's interactivity audit is shipping widespread fixes to eliminate blocking prompts in non-interactive workflows, from app dev to hydrogen deployments.
The Shopify CLI team closed out a major audit by shipping five targeted fixes that remove prompts blocking automation. Theme dev now accepts a reconciliation-strategy flag [1] to handle JSON conflicts without user input, while app dev got three separate prompt bypasses [2] for URL confirmations, mkcert installation, and storefront password entry. Config validation can now target a specific client ID to skip recovery prompts [3], and extension type generation won't recursively scan excluded files anymore [4], cutting build times on UI extensions. Hydrogen shipped its own non-interactive fixes in 13.0.2 [5]: `hydrogen link` now accepts shop and storefront flags [6] to bypass selection prompts, while `hydrogen upgrade` respects `--force` to skip confirmation dialogs [7].
Action items
- → Update shopify/cli and @shopify/[email protected] in your projects to enable automation flows Shopify/cli [plan]
- → Audit your CI/CD scripts for `app dev`, `theme dev`, and `hydrogen link` commands and add appropriate flags Shopify/cli [plan]
- → Test non-interactive workflows with `--reconciliation-strategy keep-local` for theme dev and `--force` for hydrogen upgrade Shopify/hydrogen [monitor]
References
- [1] Add theme dev reconciliation strategy flag ↗ Shopify/cli
- [2] Add non-interactive app dev prompt bypasses ↗ Shopify/cli
- [3] Allow app config validate to target config by client ID ↗ Shopify/cli
- [4] Improve performance for extension types generation ↗ Shopify/cli
- [5] @shopify/[email protected] ↗ Shopify/hydrogen
- [6] Add link shop and storefront creation flags ↗ Shopify/hydrogen
- [7] Use force for upgrade confirmations ↗ Shopify/hydrogen