diff --git a/cli/src/index.ts b/cli/src/index.ts index 24cdb4279ecb..8e3566897ec6 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -58,3 +58,7 @@ cli.help() cli.version(cliPackageJson.version) cli.parse() + +if (!cli.matchedCommand && !cli.options.help && !cli.options.version) { + cli.outputHelp() +} \ No newline at end of file