Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "crdtoapi", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "CustomResourceDefinitions to OpensAPI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,5 +11,5 @@ import { Command } from "commander"; | ||
program | ||
.version("0.0.2") | ||
.version("0.0.3") | ||
.description("Convert CRDs to OpenAPI file") | ||
.option("-i, --in <dir>", "Input directory path") | ||
.option("-i, --in <dir>", "Input directory path [Required]") | ||
.option("-o, --out <file>", "Output file name") | ||
@@ -147,3 +147,3 @@ .option("-t, --title <text>", "Module title") | ||
if (!options.in) { | ||
console.error('Input directory is required'); | ||
console.error('Error: Input directory is required\n'); | ||
@@ -150,0 +150,0 @@ program.help(); |
236562