Skip to content

Commit d92c70a

Browse files
author
Alvaro Muñoz
committed
Update CodeQL database file names
1 parent f0095ba commit d92c70a

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ QLDB will organize your databases in a hierarchical structure:
1010
└── github.com
1111
├── apache
1212
│ ├── logging-log4j2
13-
│ │ ├── java
14-
│ │ │ └── fa2f51eb8d5912b92b8aa75693464f3e55d36be9.zip
15-
│ │ └── javascript
16-
│ │ └── abf13fabc45a2f51eb8d5912b92b8aa75693464f.zip
13+
│ │ ├── java─fa2f51eb.zip
14+
│ │ └── javascript─abf13fab.zip
1715
│ └── commons-text
18-
│ └── java
19-
│ └── e2b291e92bcc272f98d6ca6723994da985d30e07.zip
16+
│ └── java-e2b291e9.zip
2017
└── pwntester
2118
└── sample-project
22-
└── java
23-
└── 9b84404246d516a11091e74ef4cdcf7dfcc63fa4.zip
19+
└── java─9b844042.zip
2420
```
2521

2622
### Usage
@@ -36,6 +32,7 @@ Available Commands:
3632
help Help about any command
3733
install Install a local CodeQL database in the QLDB directory
3834
info Returns information about a database stored in the QLDB structure
35+
list Returns a list of CodeQL databases stored in the QLDB structure
3936

4037
Flags:
4138
-h, --help help for gh-qldb
@@ -74,6 +71,16 @@ gh qldb info -n apache/logging-log4j2 -l java -j
7471
]
7572
```
7673
74+
#### List available Databases
75+
76+
```bash
77+
gh qldb list
78+
/Users/pwntester/codeql-dbs/github.com/apache/logging-log4j2/java─fa2f51eb.zip
79+
/Users/pwntester/codeql-dbs/github.com/apache/logging-log4j2/javascript─abf13fab.zip
80+
/Users/pwntester/codeql-dbs/github.com/apache/commons-text/java-e2b291e9.zip
81+
/Users/pwntester/codeql-dbs/github.com/pwntester/sample-project/java─9b844042.zip
82+
```
83+
7784
### Similar projects
7885
7986
Liked the idea? Do you want to use a similar functionality for managing your GitHub projects and clones? Try [`gh cdr`](https://github.com/pwntester/gh-cdr)

0 commit comments

Comments
 (0)