File tree 6 files changed +664
-601
lines changed
6 files changed +664
-601
lines changed Original file line number Diff line number Diff line change 2
2
.idea
3
3
node_modules
4
4
npm-debug.log
5
-
6
- coverage /lcov-report /
7
-
8
5
coverage /
9
-
10
- all_issues \. csv
6
+ all_issues.csv
7
+ yarn-error.log
Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
3
+ os :
4
+ - linux
5
+ - osx
2
6
node_js :
3
- - " node"
4
- - " 6"
7
+ - 8
8
+ - 7
9
+ - 6
10
+ - node
5
11
cache : yarn
6
- script :
7
- - ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --reporter test/ -- -R spec
8
- - ./node_modules/.bin/codecov
12
+ before_install : yarn global add greenkeeper-lockfile@1
13
+ before_script : greenkeeper-lockfile-update
14
+ after_script : greenkeeper-lockfile-upload
15
+ after_success :
16
+ - yarn cover
17
+ - ./node_modules/.bin/codecov
18
+ env :
19
+ global :
20
+ secure : eGptEeBpj9rsGNLF6cqvXsclE6QBCWABReVPq5ueQ0LqeE8/bXKKDoIWSkFL105Zk0grqUiMRESfIr7CWFyFlT75MhE1/QfKsGtNtJoZ4FQMb/a85VjQLBWEX9Nr34+R+FMv3a2HY49SuFhFcyndSbPZ4vc3lV48+gV/QzbKT2vNSjgH2wQrMlqgkg3Sg8sghdaVsKWsd3TxLX+PvfZD23M+bYMf1CGO0bub4kUuAZ+EfTi+nVFE5XQVZP5Ln8Ypwy8FyftxBIiYu6DkuXoGoBZxr9Ov70ANCIJeDsAhRioDSJ/33VtgSuBLjEoBgZsrdSet5q95/t4iPdzqfQlqTJvJ1uhwdWP/OdiH6Eip+elLGb4m1xaLMjCyCGY1FL5RnafCYRFsyIZWE2H1qQnOrd4gnfZx03Yrmg6ZnodyqvEp8sVvLxl5aWiiv9QMlTK1s6z23I9g1zx3kYcY0vBvdgEFCG/1vmD0dqK3A3/wr58EVeR01nj+pbqeJtnXk1bu9eTV2p9YpVsHpjM33sqwXtqoPegCGGuAsLyWoszjfK6ZhEMLS7T8Wlf8ECACd60u/5T+d7rOqhfCaCdkXu4kZczpZ9EeFBTpuHPRFDEvTNka35HXoFoY8c0TXY0zE3wSJL7xubKVPO/lFjsPREuQXxTOcSvnNxLQrL4+wjjQW9w=
Original file line number Diff line number Diff line change 1
1
# Git Issues Downloader
2
2
3
+ [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/remoteorigin/git-issues-downloader.svg )] ( https://greenkeeper.io/ )
4
+
3
5
Command line application allowing you to download all issues in the CSV format from the public or private repository
4
6
5
7
[ ![ Build Status] ( https://travis-ci.org/remoteorigin/git-issues-downloader.svg?branch=master )] ( https://travis-ci.org/remoteorigin/git-issues-downloader )
@@ -8,13 +10,19 @@ Command line application allowing you to download all issues in the CSV format f
8
10
9
11
## Requirements
10
12
11
- - [ Node.js] ( https://nodejs.org ) ( ` v6 .10.3 LTS` )
12
- - [ Yarn] ( https://yarnpkg.com ) (for development)
13
+ - [ Node.js] ( https://nodejs.org ) ` v8 .10.0 LTS` (tested on versions ` 6 ` , ` 7 ` , ` 8 ` and ` latest ` )
14
+ - [ Yarn] ( https://yarnpkg.com ) ` latest `
13
15
14
16
## Installation
15
17
18
+ Via ` npm `
19
+
16
20
npm install -g git-issues-downloader
17
21
22
+ Via ` yarn `
23
+
24
+ yarn global add git-issues-downloader
25
+
18
26
## Ussage
19
27
20
28
git-issues-downloader <repository URL>
@@ -45,10 +53,14 @@ Example with username and password
45
53
46
54
All tests are are written in [ Mocha] ( https://mochajs.org/ ) and stored in the ` test ` folder.
47
55
48
- yarn run test
56
+ yarn test
49
57
50
58
### Linting
51
59
52
60
Using [ Standard] ( https://github.com/feross/standard ) JavaScript linter & automatic code fixer.
53
61
54
- yarn run lint
62
+ yarn lint
63
+
64
+ Automaticaaly fix linting issues
65
+
66
+ yarn lint:fix
Original file line number Diff line number Diff line change @@ -9,11 +9,7 @@ const chalk = require('chalk')
9
9
const argv = require ( 'yargs' )
10
10
. usage ( 'Usage: git-issues-downloader [options] URL \nType git-issues-downloader --help to see a list of all options.' )
11
11
. help ( 'h' )
12
-
13
- . version ( function ( ) {
14
- return `Version: ${ require ( './package.json' ) . version } `
15
- } )
16
-
12
+ . version ( )
17
13
. alias ( 'h' , 'help' )
18
14
. alias ( 'v' , 'version' )
19
15
. alias ( 'u' , 'username' )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " git-issues-downloader" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.1.0 " ,
4
4
"main" : " app.js" ,
5
5
"license" : " MIT" ,
6
6
"scripts" : {
7
7
"start" : " node app.js ; exit 0" ,
8
- "test" : " mocha test" ,
8
+ "test" : " mocha" ,
9
+ "cover" : " istanbul cover _mocha -- -R spec" ,
9
10
"lint" : " standard" ,
10
11
"lint:fix" : " standard --fix"
11
12
},
15
16
]
16
17
},
17
18
"dependencies" : {
18
- "chalk" : " ^1.1.3 " ,
19
- "codecov" : " ^2.2 .0" ,
19
+ "chalk" : " ^2.3.2 " ,
20
+ "codecov" : " ^3.0 .0" ,
20
21
"istanbul" : " ^0.4.5" ,
21
22
"lodash" : " ^4.17.4" ,
22
23
"moment" : " ^2.18.1" ,
23
24
"read" : " ^1.0.7" ,
24
25
"request" : " ^2.81.0" ,
25
- "sinon" : " ^2.3.1 " ,
26
- "yargs" : " ^8 .0.1 "
26
+ "sinon" : " ^4.4.8 " ,
27
+ "yargs" : " ^11 .0.0 "
27
28
},
28
29
"bin" : {
29
30
"git-issues-downloader" : " app.js"
30
31
},
31
32
"devDependencies" : {
32
- "chai" : " ^3.5.0 " ,
33
- "mocha" : " ^3.4.1 " ,
34
- "standard" : " ^10 .0.2 "
33
+ "chai" : " ^4.1.2 " ,
34
+ "mocha" : " ^5.0.5 " ,
35
+ "standard" : " ^11 .0.1 "
35
36
},
36
37
"description" : " Command line application allowing you to download all issues in the CSV format from the public or private repository" ,
37
38
"repository" : " git@github.com:remoteorigin/git-issues-downloader.git" ,
47
48
" tickets" ,
48
49
" download" ,
49
50
" downloader" ,
50
- " csv"
51
+ " save" ,
52
+ " csv" ,
53
+ " export" ,
54
+ " offline" ,
55
+ " local" ,
56
+ " cli"
51
57
]
52
58
}
You can’t perform that action at this time.
0 commit comments