@asyncapi/cli
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -32,2 +32,5 @@ #!/usr/bin/env node | ||
alias: 'h' | ||
}, | ||
version: { | ||
alias: 'v' | ||
} | ||
@@ -34,0 +37,0 @@ } |
@@ -37,3 +37,3 @@ "use strict"; | ||
this.helpFlag, | ||
'--version, output version string' | ||
'-v, --version output version number' | ||
] | ||
@@ -128,8 +128,2 @@ }); | ||
const msg = (_b = rest[0]) === null || _b === void 0 ? void 0 : _b.split(' ').splice(2, rest[0].length).join(' '); | ||
if (alias === '--version') { | ||
return react_1.default.createElement(ink_1.Text, { key: flag }, | ||
react_1.default.createElement(ink_1.Text, { color: "yellowBright" }, alias), | ||
" ", | ||
rest); | ||
} | ||
return react_1.default.createElement(ink_1.Text, { key: flag }, | ||
@@ -136,0 +130,0 @@ react_1.default.createElement(ink_1.Text, { color: "yellowBright", bold: true }, alias), |
{ | ||
"name": "@asyncapi/cli", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -31,3 +31,3 @@ <h5 align="center"> | ||
-h, --help display help for command | ||
--version output the version number | ||
-v, --version output the version number | ||
@@ -34,0 +34,0 @@ COMMANDS |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148973
1985