Comparing version 3.1.0 to 3.3.0
@@ -18,2 +18,6 @@ 'use strict'; | ||
if (Array.isArray(opts.help)) { | ||
opts.help = opts.help.join('\n'); | ||
} | ||
var pkg = typeof opts.pkg === 'string' ? require(path.join(parentDir, opts.pkg)) : opts.pkg; | ||
@@ -20,0 +24,0 @@ var argv = minimist(opts.argv, minimistOpts); |
{ | ||
"name": "meow", | ||
"version": "3.1.0", | ||
"version": "3.3.0", | ||
"description": "CLI app helper", | ||
@@ -10,3 +10,3 @@ "license": "MIT", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "http://sindresorhus.com" | ||
"url": "sindresorhus.com" | ||
}, | ||
@@ -28,3 +28,14 @@ "engines": { | ||
"helper", | ||
"argv" | ||
"argv", | ||
"command", | ||
"line", | ||
"meow", | ||
"cat", | ||
"kitten", | ||
"parser", | ||
"option", | ||
"flags", | ||
"input", | ||
"cmd", | ||
"console" | ||
], | ||
@@ -35,3 +46,3 @@ "dependencies": { | ||
"minimist": "^1.1.0", | ||
"object-assign": "^2.0.0" | ||
"object-assign": "^3.0.0" | ||
}, | ||
@@ -38,0 +49,0 @@ "devDependencies": { |
@@ -25,3 +25,3 @@ # meow [![Build Status](https://travis-ci.org/sindresorhus/meow.svg?branch=master)](https://travis-ci.org/sindresorhus/meow) | ||
```sh | ||
``` | ||
$ ./foo-app.js unicorns --rainbow-cake | ||
@@ -40,3 +40,3 @@ ``` | ||
' foo-app <input>' | ||
].join('\n') | ||
] | ||
}); | ||
@@ -71,6 +71,8 @@ /* | ||
Type: `string`, `boolean` | ||
Type: `array`, `string`, `boolean` | ||
The help text you want shown. | ||
If it's an array each item will be a line. | ||
If you don't specify anything, it will still show the package.json `"description"`. | ||
@@ -111,4 +113,9 @@ | ||
## Tip | ||
Use [get-stdin](https://github.com/sindresorhus/get-stdin) if you need to accept input from stdin. | ||
## License | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) |
5206
41
118
+ Addedobject-assign@3.0.0(transitive)
- Removedobject-assign@2.1.1(transitive)
Updatedobject-assign@^3.0.0