From 273d532afbad6900264e4d2b362ad590cb3f6e5c Mon Sep 17 00:00:00 2001 From: Alexander Ryzhikov Date: Sun, 19 Nov 2023 20:06:01 +0200 Subject: [PATCH] fix: allow gen command to accept multiple files --- generator/gen.bin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/gen.bin.ts b/generator/gen.bin.ts index 32b38b6..49cafed 100755 --- a/generator/gen.bin.ts +++ b/generator/gen.bin.ts @@ -8,7 +8,7 @@ import { watcher } from './watcher'; yargs(hideBin(process.argv)) .command( - 'gen [files]', + 'gen [files...]', 'Generates json schemas next to corresponding ts files', (yargs) => yargs