Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "parsec", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Generator-based CLI parser.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -43,3 +43,3 @@ > Generator-based CLI parser. | ||
```js | ||
// ./app --msg=hi | ||
// $ ./app.js --msg=hi | ||
Parsec | ||
@@ -76,3 +76,3 @@ .options("msg") | ||
```js | ||
// ./app.js -tla | ||
// $ ./app.js -tla | ||
Parsec | ||
@@ -99,3 +99,3 @@ .options("three") | ||
```js | ||
// ./app.js -G | ||
// $ ./app.js -G | ||
Parsec | ||
@@ -122,3 +122,3 @@ .options(["G", "g", "great"]) | ||
```js | ||
// ./app.js --no-woman-no-cry --no-wonder=false | ||
// $ ./app.js --no-woman-no-cry --no-wonder=false | ||
Parsec.parse(process.argv) | ||
@@ -155,4 +155,5 @@ ``` | ||
Array with cli arguments. Usually [`process.argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv). | ||
Array with cli arguments. Usually [`process.argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv). | ||
+ #### `options` | ||
@@ -159,0 +160,0 @@ |
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
37254
259
0