Skip to content

Commit 1cb1c9c

Browse files
authored
Integrate generateCommand arguments and run method into main command (#1198)
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 0a06da1 commit 1cb1c9c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/short-cooks-swim.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"swagger-typescript-api": patch
3+
---
4+
5+
Integrate `generateCommand` arguments and run method into main command.

index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ const main = defineCommand({
343343
description: packageJson.description,
344344
version: packageJson.version,
345345
},
346+
args: generateCommand.args,
347+
run: generateCommand.run,
346348
subCommands: {
347349
generate: generateCommand,
348350
"generate-templates": generateTemplatesCommand,

0 commit comments

Comments
 (0)