Comparing version 0.10.0 to 0.10.1
@@ -95,6 +95,6 @@ "use strict"; | ||
if (withNoHighlight.length === 1) { | ||
errorMessages.push('Along the following error:'); | ||
errorMessages.push('Along with the following error:'); | ||
} | ||
else if (withNoHighlight.length > 1) { | ||
errorMessages.push('Along the following errors:'); | ||
errorMessages.push('Along with the following errors:'); | ||
} | ||
@@ -101,0 +101,0 @@ } |
@@ -89,6 +89,6 @@ import chalk from 'chalk'; | ||
if (withNoHighlight.length === 1) { | ||
errorMessages.push('Along the following error:'); | ||
errorMessages.push('Along with the following error:'); | ||
} | ||
else if (withNoHighlight.length > 1) { | ||
errorMessages.push('Along the following errors:'); | ||
errorMessages.push('Along with the following errors:'); | ||
} | ||
@@ -95,0 +95,0 @@ } |
{ | ||
"name": "cmd-ts", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"homepage": "https://cmd-ts.now.sh", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"start": "yarn build --watch", | ||
"prepublishOnly": "yarn build && yarn test", | ||
"prepublishOnly": "rm -rf dist && yarn build && yarn test", | ||
"test": "jest", | ||
@@ -22,0 +22,0 @@ "ts-node": "./scripts/ts-node" |
@@ -29,3 +29,3 @@ # `cmd-ts` | ||
}, | ||
handler: args => { | ||
handler: (args) => { | ||
args.message; // string | ||
@@ -42,3 +42,3 @@ args.number; // number | ||
Creates a CLI command. Returns either a parsing error, or an object where every argument provided gets the value with the correct type, along with a special `_` key that contains the "rest" of the positional arguments. | ||
Creates a CLI command. | ||
@@ -45,0 +45,0 @@ ### Decoding custom types from strings |
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
323491