cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: app link with --config cli parameter should skip the filename step

Open illarionvk opened this issue 1 year ago • 1 comments

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

Image

Verbose output

--

Reproduction steps

  1. 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

illarionvk avatar Oct 07 '24 16:10 illarionvk

Semi-related issue: https://github.com/Shopify/cli/issues/3751

illarionvk avatar Oct 07 '24 16:10 illarionvk

This will be possible in the next release of Shopify CLI :)

isaacroldan avatar Oct 15 '24 10:10 isaacroldan