Comparing version 2.1.0 to 2.2.0
29
cli.js
@@ -6,18 +6,17 @@ #!/usr/bin/env node | ||
const cli = meow({ | ||
help: [ | ||
'Examples', | ||
' $ awful', | ||
' terrible', | ||
'', | ||
' $ awful --all', | ||
' abominable', | ||
' abysmal', | ||
' ...', | ||
'', | ||
'Options', | ||
' --all Get all names instead of a random name' | ||
] | ||
}); | ||
const cli = meow(` | ||
Examples | ||
$ awful | ||
terrible | ||
$ awful --all | ||
abominable | ||
abysmal | ||
appalling | ||
... | ||
Options | ||
--all Get all the words instead of a random word | ||
`); | ||
console.log(cli.flags.all ? awful.all.join('\n') : awful.random()); |
{ | ||
"name": "awful", | ||
"version": "2.1.0", | ||
"description": "Get words like awful", | ||
"version": "2.2.0", | ||
"description": "👎 A terrible, horrible, no good, very bad npm package", | ||
"license": "MIT", | ||
@@ -10,3 +10,3 @@ "repository": "rod/awful", | ||
"email": "rodneydennisjr@gmail.com", | ||
"url": "https://rod.today" | ||
"url": "https://rod.sh" | ||
}, | ||
@@ -23,3 +23,5 @@ "bin": { | ||
"files": [ | ||
"cli.js" | ||
"index.js", | ||
"cli.js", | ||
"words.json" | ||
], | ||
@@ -40,4 +42,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"ava": "*", | ||
"xo": "*" | ||
"ava": "^0.16.0", | ||
"execa": "^1.0.0", | ||
"xo": "^0.16.0" | ||
}, | ||
@@ -44,0 +47,0 @@ "xo": { |
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
3932
6
63
71
3