diff --git a/bin/cli.js b/bin/cli.js index 8d2e3fe..9422c2d 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -4,16 +4,13 @@ const cmd = process.argv[2]; switch (cmd) { - case 'generate-type': - // eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires - require('../dist/writeTypeDef').writeTypeDef(); - break; case 'load': // eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires require('../dist/index').loadConf().then(() => console.log('Brek: Config loaded and written to conf.json')); break; default: - console.log(`Unknown command: ${cmd}`); + // eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires + require('../dist/writeTypeDef').writeTypeDef(); break; }