Skip to content

Commit

Permalink
Change Travis config, add description to the command line help
Browse files Browse the repository at this point in the history
  • Loading branch information
ENT8R committed May 10, 2018
1 parent e8bcb9d commit b86f88e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
language: node_js

node_js:
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "7"

cache:
directories:
- "node_modules"

notifications:
email: false
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,9 @@
$ npm install package-age --global
```


## Usage

```
❯ package-age --help
Usage: package-age [options]
Options:
-v, --version output the version number
-f, --file [optional] path to the package.json
-y, --year [optional] after how much years a package should be considered old
-m, --month [optional] after how much months a package should be considered old
-a, --all parameter to get all kinds of dependencies
-d, --dev parameter to get the devDependencies
-p, --peer parameter to get the peerDependencies
-b, --bundled parameter to get the bundledDependencies
-h, --help output usage information
```
<img src="carbon.png">

## License

Expand Down
Binary file added carbon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const config = {

commander
.version(config.version, '-v, --version')
.description('A CLI for detecting old dependencies used in your project')
.option('-f, --file [optional]', 'path to the package.json')

.option('-y, --year [optional]', 'after how much years a package should be considered old')
Expand Down

0 comments on commit b86f88e

Please sign in to comment.