Comparing version 2.0.0 to 2.0.1
@@ -49,6 +49,6 @@ 'use strict'; | ||
result.input = input | ||
result.flags = args | ||
return camelcase(result, { | ||
result.flags = camelcase(args, { | ||
excludeKeys: ['--'] | ||
}) | ||
return result | ||
} | ||
@@ -55,0 +55,0 @@ |
{ | ||
"name": "cac", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Command & Conquer, the command-line queen.", | ||
@@ -55,4 +55,4 @@ "license": "MIT", | ||
"kanpai": { | ||
"testScript": "test2" | ||
"test": "test2" | ||
} | ||
} |
@@ -51,3 +51,5 @@ # cac [![NPM version](https://img.shields.io/npm/v/cac.svg)](https://npmjs.com/package/cac) [![NPM downloads](https://img.shields.io/npm/dm/cac.svg)](https://npmjs.com/package/cac) [![Build Status](https://img.shields.io/circleci/project/egoist/cac/master.svg)](https://circleci.com/gh/egoist/cac) | ||
- **description**: `string`, command description, will be used to output cli usage | ||
- **fn**: `function`, command function, will be triggered when this command matches user's input | ||
- **fn**: `function`, command function, will be triggered when this command matches user's input, the function takes two arguments: | ||
- *input*: non-flag arguments | ||
- *flags*: flags converted to camelCase | ||
@@ -54,0 +56,0 @@ ## .parse(argv) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9300
66
0