Skip to content

Commit 293f9be

Browse files
committed
added license
2 parents c7ff250 + 2ef01a9 commit 293f9be

File tree

4 files changed

+55
-5
lines changed

4 files changed

+55
-5
lines changed

Diff for: LICENSE

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org/>

Diff for: README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ It grabs the last 100 issues(by default), then averages their lifespan by using
88

99
1. `clone the repo`
1010
2. `npm install`
11-
3. `node stats.js`
12-
13-
Edit `stats.js` to point at a different repository
11+
3. `node stats.js apiengine/github-stats`
1412

1513
## Examples
1614

@@ -33,4 +31,4 @@ Average days: 3.9
3331
```
3432
Average hours: 20.97
3533
Average days: 0.87
36-
```
34+
```

Diff for: package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@
2222
"superagent": "~0.10.0",
2323
"commander": "~1.1.0",
2424
"cli-color": "~0.2.1"
25-
}
25+
},
26+
"licenses": [
27+
{
28+
"type": "UNLICENSE",
29+
"url": "https://github.com/apiengine/ghstats/raw/master/LICENSE"
30+
}
31+
]
2632
}

Diff for: stats.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env node
2+
3+
4+
var program = require('commander');
5+
6+
program
7+
.version('0.0.1')
8+
.option('-m, --maxissues [total]', 'Specify the max number of issues you want to analyse starting from the most recent. Maxium of 100. [total]', 'total');
9+
10+
var issues = require('./lib/issues');
11+
program
12+
.command('issues <repo>')
13+
.description('Grabs useful information about the repos issues')
14+
.action(function(repo){
15+
issues.getInfo(repo, program.maxissues);
16+
});
17+
18+
19+
program.parse(process.argv);
20+
21+
22+

0 commit comments

Comments
 (0)