Skip to content

Commit 2ec006f

Browse files
authored
add -s alias for --silent flag (dotansimha#4354)
1 parent 1e332f1 commit 2ec006f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/graphql-codegen-cli/src/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ export function buildOptions() {
146146
describe: 'Overwrites existing files',
147147
type: 'boolean' as const,
148148
},
149+
s: {
150+
alias: 'silent',
151+
describe: 'Suppresses printing errors',
152+
type: 'boolean' as const,
153+
},
149154
p: {
150155
alias: 'project',
151156
describe: 'Name of a project in GraphQL Config',

0 commit comments

Comments
 (0)