1
- <p align =" center " >
2
- <img src =" https://rawgit.com/sqle/gitql/master/gitql-logo.svg " >
3
- </p >
4
-
5
- <p align =" center " >
1
+ # gitquery
6
2
3
+ <p >
7
4
<a href =" https://codebeat.co/projects/gb.xjqchip.workers.dev-sqle-gitql " ><img alt =" codebeat badge " src =" https://codebeat.co/badges/d797a013-326b-4686-a1a7-adcb3039f65c " /></a >
8
5
9
- <a href =" https://travis-ci.org/sqle/gitql " ><img alt =" Build Status " src =" https://travis-ci.org/sqle/gitql .svg?branch=master " /></a >
6
+ <a href =" https://travis-ci.org/sqle/gitquery " ><img alt =" Build Status " src =" https://travis-ci.org/sqle/gitquery .svg?branch=master " /></a >
10
7
11
- <a href =" https://codecov.io/gh/sqle/gitql " ><img alt =" codecov " src =" https://codecov.io/gh/sqle/gitql /branch/master/graph/badge.svg " /></a >
8
+ <a href =" https://codecov.io/gh/sqle/gitquery " ><img alt =" codecov " src =" https://codecov.io/gh/sqle/gitquery /branch/master/graph/badge.svg " /></a >
12
9
13
- <a href =" https://godoc.org/gopkg.in/sqle/gitql .v0 " ><img alt =" GoDoc " src =" https://godoc.org/gopkg.in/sqle/gitql .v0?status.svg " /></a >
10
+ <a href =" https://godoc.org/gopkg.in/sqle/gitquery .v0 " ><img alt =" GoDoc " src =" https://godoc.org/gopkg.in/sqle/gitquery .v0?status.svg " /></a >
14
11
</p >
15
12
16
13
<a href =" https://asciinema.org/a/102733?autoplay=1 " target =" _blank " ><img src =" https://asciinema.org/a/102733.png " width =" 979 " /></a >
17
14
18
15
## Installation
19
16
20
- Check the [ Releases] ( https://github.com/sqle/gitql /releases ) page to download
21
- the gitql binary.
17
+ Check the [ Releases] ( https://github.com/sqle/gitquery /releases ) page to download
18
+ the gitquery binary.
22
19
23
20
## Usage
24
21
25
22
``` bash
26
23
Usage:
27
- gitql [OPTIONS] < query | shell | version>
24
+ gitquery [OPTIONS] < query | shell | version>
28
25
29
26
Help Options:
30
27
-h, --help Show this help message
@@ -39,7 +36,7 @@ For example:
39
36
40
37
``` bash
41
38
$ cd my_git_repo
42
- $ gitql query ' SELECT hash, author_email, author_name FROM commits LIMIT 2;'
39
+ $ gitquery query ' SELECT hash, author_email, author_name FROM commits LIMIT 2;'
43
40
SELECT hash, author_email, author_name FROM commits LIMIT 2;
44
41
+------------------------------------------+---------------------+-----------------------+
45
42
| HASH | AUTHOR EMAIL | AUTHOR NAME |
@@ -52,7 +49,7 @@ SELECT hash, author_email, author_name FROM commits LIMIT 2;
52
49
You can use the interactive shell like you usually do to explore tables in postgreSQL per example:
53
50
54
51
``` bash
55
- $ gitql shell
52
+ $ gitquery shell
56
53
57
54
gitQL SHELL
58
55
-----------
@@ -73,7 +70,7 @@ You must end your queries with ';'
73
70
74
71
## Tables
75
72
76
- gitql exposes the following tables:
73
+ gitquery exposes the following tables:
77
74
78
75
| Name | Columns |
79
76
| :------------:| :---------------------------------------------------------------------------------------------------:|
@@ -85,7 +82,7 @@ gitql exposes the following tables:
85
82
86
83
## SQL syntax
87
84
88
- We are continuously adding more functionality to gitql . We support a subset of the SQL standard, currently including:
85
+ We are continuously adding more functionality to gitquery . We support a subset of the SQL standard, currently including:
89
86
90
87
| | Supported |
91
88
| :----------------------:| :---------------------------------------------------------------------------------:|
@@ -96,4 +93,4 @@ We are continuously adding more functionality to gitql. We support a subset of t
96
93
97
94
## License
98
95
99
- gitql is licensed under the [ MIT License] ( https://github.com/sqle/gitql /blob/master/LICENSE ) .
96
+ gitquery is licensed under the [ MIT License] ( https://github.com/sqle/gitquery /blob/master/LICENSE ) .
0 commit comments