diff --git a/src/cli.ts b/src/cli.ts index 8e63989..9355a4b 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -27,6 +27,10 @@ if (options.path) { } else { generateBinary(options.path); } +} else { + throw console.error( + "Error: Path to the plan file is required to generate plot", + ); } function generateJSON(path: string) {