cli
cli copied to clipboard
[Bug]: app link with --config cli parameter should skip the filename step
Please confirm that you have:
- [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- [x] Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
We're trying to establish coding conventions for our projects and use development/staging/production config names only.
shopify app link --config=my-name should skip the config file name question and create or update the shopify.app.my-name.toml file
Actual behavior
The app ignores the custom name parameter and shows a prompt with the app name as a pre-filled suggestion
Verbose output
--
Reproduction steps
- Run
shopify app link --config staging
Operating System
Debian 12
Shopify CLI version (check your project's package.json if you're not sure)
3.68.0
Shell
bash
Node version (run node -v if you're not sure)
v20.14.0
What language and version are you using in your application?
No response
Semi-related issue: https://github.com/Shopify/cli/issues/3751
This will be possible in the next release of Shopify CLI :)