Skip to content

Commit

Permalink
fix: use alias properly
Browse files Browse the repository at this point in the history
closes #14
  • Loading branch information
RichardLitt committed Oct 14, 2017
1 parent 10b51cb commit 992a0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ const cli = meow([`
$ name-your-contributors -r ipfs -u ipfs --after=2016-01-15T00:20:24Z --before=2016-01-20T00:20:24Z
$ name-your-contributors -o ipfs -a 2017-01-01 > ipfs-contrib-2017.json
`, {
`], {
alias: {
b: 'before',
a: 'after',
r: 'repo',
u: 'user',
t: 'token'
}
}])
})

const token = cli.flags.t || process.env.GITHUB_TOKEN

Expand Down

0 comments on commit 992a0c4

Please sign in to comment.