$ the-wire · showcase
Dasherize `client_transfer` in Shopify CLI
By RepoJournal · Filed · About Shopify
The Shopify CLI now uses dashes for the `client_transfer` store type flag value, matching every other multi-word enumerated value.
The Shopify CLI now accepts `--type client-transfer`, replacing the only underscored enumerated flag value in the manifest, `client_transfer` [1]. Every other multi-word flag value already used dashes, including `--flavor typescript-react`, `--delivery-method event-bridge`, and `--reconciliation-strategy keep-local` [3]. The old underscore form, which came from Business Platform's casing, is no longer the canonical value.
The change touches the `store list` command and internals like `STORE_TYPE_HANDLES` [1]. The commit notes that "`store list --type client_transfer` was the only underscored enumerated flag value in the entire CLI manifest" [1]. If any scripts or automation depend on the underscored form, update them to use the dashed form.
Action items
- → Update any scripts or docs using `client_transfer` to `client-transfer` Shopify/cli [plan]
References
- [1] Dasherize the client transfer store type handle ↗ Shopify/cli
- [2] Merge pull request #8494 from Shopify/dasherize-client-transfer ↗ Shopify/cli
- [3] Dasherize the client transfer store type handle ↗ Shopify/cli