$ the-wire · showcase
Shopify CLI adds subscription migration list command
By RepoJournal · Filed · About Shopify
The Shopify CLI now ships a subscription migration list command that streams CSV or JSON to stdout, giving developers a scriptable window into their migration state.
The new `shopify app subscription-migrations list` command [1] fetches every page from the `migratableAppSubscriptions` Partners CLI GraphQL query, optionally filters by `UNSCHEDULED`, `SCHEDULED`, or `MIGRATED`, and streams a comprehensive CSV by default, or one versioned JSON document with `--json`. Output saves through normal shell redirection, which makes it straightforward to pipe into reporting or automation. The merged commit [4] confirms this is now on main.
`shopify store list` now shows each store's plan alongside Subdomain, Name, Type, and Created [2]. Previously, telling a Plus store from a Basic one meant running `shopify store info --store <domain>` once per store; now the table reports the plan the same way `store info` does, no second vocabulary of plan names. The change follows OK2 feedback in the #devtools-proj-cli-dev-stores Slack channel.
The CLI also adds hidden App Doctor commands [3], a security review workflow for Shopify app developers. It combines deterministic checks with structured prompts for deeper review by a coding agent. The procedure ships with the CLI build itself, removing the need to install AI Toolkit or copy a separately versioned skill. Unsupported or incomplete analysis is never presented as a clean security grade.
Action items
- → Try `shopify app subscription-migrations list --json` and pipe through redirection to CSV or JSON for migration reporting Shopify/cli [monitor]
- → Run `shopify store list` to verify plan column appears and matches `store info` plan naming Shopify/cli [monitor]
- → Review App Doctor commands in a dev build before relying on results for security grading Shopify/cli [monitor]
References
- [1] Add subscription migration list command ↗ Shopify/cli
- [2] Show each store's plan in `store list` ↗ Shopify/cli
- [3] Add hidden App Doctor commands ↗ Shopify/cli
- [4] Merge pull request #8478 from Shopify/eon/subscription-migrations-list ↗ Shopify/cli