From 68e46f7e255e2e915579f81aa7303bd1792f92a9 Mon Sep 17 00:00:00 2001 From: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com> Date: Tue, 31 Dec 2024 00:20:56 +0900 Subject: [PATCH] feat: add description for `--check` flag to build options --- packages/graphql-codegen-cli/src/config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/graphql-codegen-cli/src/config.ts b/packages/graphql-codegen-cli/src/config.ts index 519d88c922a..51c7b9e7892 100644 --- a/packages/graphql-codegen-cli/src/config.ts +++ b/packages/graphql-codegen-cli/src/config.ts @@ -249,6 +249,10 @@ export function buildOptions() { type: 'boolean' as const, default: false, }, + check: { + describe: 'Enable dry-run mode to check if some new changes are detected', + type: 'boolean' as const, + }, d: { alias: 'debug', describe: 'Print debug logs to stdout',