Skip to content

Commit

Permalink
Update dependencies to enable Greenkeeper 🌴 (#69)
Browse files Browse the repository at this point in the history
* chore(package): update dependencies

* chore: upgrade meow to match new version
  • Loading branch information
greenkeeper[bot] authored and RichardLitt committed Feb 7, 2018
1 parent a731380 commit e6a8323
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
],
"dependencies": {
"csv-writer": "0.0.3",
"meow": "^3.7.0",
"meow": "^4.0.0",
"persistent-cache": "^1.1.1"
},
"devDependencies": {
"ava": "^0.23.0",
"ava": "^0.25.0",
"semantic-release": "^12.4.1",
"standard": "^10.0.3",
"travis-deploy-once": "^4.3.4"
Expand Down
46 changes: 35 additions & 11 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const main = require('./index')
const done = require('./graphql').done
const cache = require('./graphql').cache

const cli = meow([`
const cli = meow(`
Usage
$ name-your-contributors <input> [opts]
Expand Down Expand Up @@ -46,16 +46,40 @@ const cli = meow([`
$ name-your-contributors -o ipfs -a 2017-01-01 > ipfs-contrib-2017.json
$ name-your-contributors --config config.json > combined-out.json
`], {
alias: {
a: 'after',
b: 'before',
c: 'config',
r: 'repo',
t: 'token',
o: 'org',
u: 'user',
v: 'verbose'
`, {
flags: {
after: {
type: 'string',
alias: 'a'
},
before: {
type: 'string',
alias: 'b'
},
config: {
type: 'string',
alias: 'c'
},
repo: {
type: 'string',
alias: 'r'
},
token: {
type: 'string',
alias: 't'
},
org: {
type: 'string',
alias: 'o'
},
user: {
type: 'string',
alias: 'u'
},
verbose: {
type: 'boolean',
alias: 'v'
}
}
})

Expand Down

0 comments on commit e6a8323

Please sign in to comment.