Skip to content

Commit

Permalink
Extract the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 14, 2018
1 parent bca9b38 commit bd590ca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 50 deletions.
20 changes: 0 additions & 20 deletions cli.js

This file was deleted.

6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": "cli.js",
"engines": {
"node": ">=6"
},
Expand All @@ -18,13 +17,9 @@
},
"files": [
"index.js",
"cli.js",
"words.json"
],
"keywords": [
"cli-app",
"cli",
"bin",
"superb",
"awesome",
"word",
Expand All @@ -35,7 +30,6 @@
"rand"
],
"dependencies": {
"meow": "^3.7.0",
"unique-random-array": "^1.0.0"
},
"devDependencies": {
Expand Down
25 changes: 1 addition & 24 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,32 +45,9 @@ Type: `Array`
All the words.



## CLI

```
$ npm install --global superb
```

```
$ superb --help
Examples
$ superb
legendary
$ superb --all
ace
amazing
Options
--all Get all the words instead of a random word
```


## Related

- [superb-cli](https://github.com/sindresorhus/superb-cli) - CLI for this module
- [cat-names](https://github.com/sindresorhus/cat-names) - Get popular cat names
- [dog-names](https://github.com/sindresorhus/dog-names) - Get popular dog names
- [pokemon](https://github.com/sindresorhus/pokemon) - Get Pokémon names
Expand Down

0 comments on commit bd590ca

Please sign in to comment.