Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
422 stars 125 forks source link

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

Open illarionvk opened 6 days ago

illarionvk commented 6 days ago

Please confirm that you have:

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 commented 6 days ago

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