diff --git a/packages/app/src/cli/commands/app/deploy.ts b/packages/app/src/cli/commands/app/deploy.ts index 1f169c0b98..1f7ec37618 100644 --- a/packages/app/src/cli/commands/app/deploy.ts +++ b/packages/app/src/cli/commands/app/deploy.ts @@ -49,6 +49,7 @@ export default class Deploy extends AppLinkedCommand { "Creates a version but doesn't release it - it's not made available to merchants. With this flag, a user confirmation is not required.", env: 'SHOPIFY_FLAG_NO_RELEASE', default: false, + exclusive: ['allow-updates', 'allow-deletes'], }), 'no-build': Flags.boolean({ description: diff --git a/packages/cli/README.md b/packages/cli/README.md index 407a03ae46..0b10237df2 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -200,8 +200,8 @@ Deploy your Shopify app. ``` USAGE - $ shopify app deploy [--allow-deletes] [--allow-updates] [--client-id | -c ] [-f] [--message - ] [--no-build] [--no-color] [--no-release] [--path ] [--reset | ] [--source-control-url ] + $ shopify app deploy [--client-id | -c ] [-f] [--message ] [--no-build] [--no-color] + [--no-release | --allow-updates | --allow-deletes] [--path ] [--reset | ] [--source-control-url ] [--verbose] [--version ] FLAGS diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index ed6c6cb53c..e1df719bc3 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -744,6 +744,10 @@ "allowNo": false, "description": "Creates a version but doesn't release it - it's not made available to merchants. With this flag, a user confirmation is not required.", "env": "SHOPIFY_FLAG_NO_RELEASE", + "exclusive": [ + "allow-updates", + "allow-deletes" + ], "hidden": false, "name": "no-release", "type": "boolean"