Skip to content

Commit 5b4ab3b

Browse files
authored
fix(gapic-generator-typescript): add .boolean() to diregapic and handwritten_layer (#8100)
1 parent c1a03fe commit 5b4ab3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/generator/gapic-generator-typescript/typescript/src/gapic-generator-typescript.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@ async function main(processArgv: string[]) {
113113
'diregapic',
114114
'DIREGAPIC represents Discovery Rest GAPICs. Set to true for GCE API or non-gRPC APIs with a Discovery doc description.',
115115
)
116+
.boolean('diregapic')
116117
.describe(
117118
'handwritten_layer',
118119
'Set to true if the library has a handwritten layer over GAPIC layer.',
119120
)
121+
.boolean('handwritten_layer')
120122
.describe(
121123
'legacy_proto_load',
122124
'Load protos from *.proto directly at runtime, without compiling a proto JSON file. May speed up loading huge proto trees. Disables all fallback modes.',

0 commit comments

Comments
 (0)