Skip to content

Commit

Permalink
feat: add -c for csv, alphabetize args
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLitt committed Oct 14, 2017
1 parent 011734f commit 251a8b0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const cli = meow([`
Options
-a, --after - Get contributions after date
-b, --before - Get contributions before data
-r, --repo - Repository to search
-u, --user - User to which repository belongs
-c, --csv - Output data in CSV format
-o, --org - Search all repos within this organisation
-r, --repo - Repository to search
-t, --token - GitHub auth token to use
--csv - Output data in CSV format
-u, --user - User to which repository belongs
Authentication
This script looks for an auth token in the env var GITHUB_TOKEN. Make sure
Expand All @@ -45,11 +45,12 @@ const cli = meow([`
$ name-your-contributors -o ipfs -a 2017-01-01 > ipfs-contrib-2017.json
`], {
alias: {
b: 'before',
a: 'after',
b: 'before',
c: 'csv',
r: 'repo',
u: 'user',
t: 'token'
t: 'token',
u: 'user'
}
})

Expand Down

0 comments on commit 251a8b0

Please sign in to comment.