I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
App
Expected behavior
When using CI=true SHOPIFY_CLI_PARTNERS_TOKEN=“atkn_123” shopify app config link --client-id=“abc”,
One of the two behaviours kicks in for getting the app config name:
- Revert to old behaviour (pre v3.93.0): CLI does not prompt for config name & instead uses the default app config name shopify.app.toml.
- Allows to pass --config=“abc” flag in combination with --client-id=“abc”.
Actual behavior
It prompts in a non-interactive environment for a config name.
Reproduction steps
- Clear you app root directory from any shopify.app.toml’s
- Install CLI v3.92.1
- Execute SHOPIFY_CLI_PARTNERS_TOKEN=“atkn_123” shopify app config link --client-id=“abc” again
- Watch it not prompt for the app config name and instead writes a shopify.app.toml file.
- Delete the app config file
- Install CLI v3.93.1
- Execute SHOPIFY_CLI_PARTNERS_TOKEN=“atkn_123” shopify app config link --client-id=“abc”
- Watch it prompt for the app config name.
- Execute SHOPIFY_CLI_PARTNERS_TOKEN=“atkn_123” shopify app config link --client-id=“abc” --config=“abc”
- Notice the error for supplying both --config and --client-id (client-id is exclusive to config)
Verbose output
Operating system
Mac OS Tahoe
CLI version
3.93.1