Giter Site home page Giter Site logo

gh-qldb's Introduction

gh-qldb

Tired of having dozens of CodeQL databases scattered around your file system? Introducing QLDB, a CodeQL database manager. Download, deploy and create CodeQL databases with ease.

QLDB will organize your databases in a hierarchical structure:

/Users/pwntester/codeql-dbs
└── github.com
   ├── apache
   │  ├── logging-log4j2
   │  │  ├── java
   │  │  │  └── fa2f51eb8d5912b92b8aa75693464f3e55d36be9.zip
   │  │  └── javascript
   │  │     └── abf13fabc45a2f51eb8d5912b92b8aa75693464f.zip
   │  └── commons-text
   │     └── java
   │        └── e2b291e92bcc272f98d6ca6723994da985d30e07.zip
   └── pwntester
      └── sample-project
         └── java
            └── 9b84404246d516a11091e74ef4cdcf7dfcc63fa4.zip

Usage

Usage:
  gh qldb [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  create      Extracts a CodeQL database from a source path
  download    Downloads a CodeQL database from GitHub Code Scanning
  help        Help about any command
  install     Install a local CodeQL database in the QLDB directory
  info        Returns information about a database stored in the QLDB structure

Flags:
  -h, --help   help for gh-qldb

Examples

Create a database

gh qldb create -n foo/bar -- -s path/to/src -l java

Download a Code Scanning database

gh qldb download -n apache/logging-log4j2 -l java

Install a local database in QLDB structure

gh qldb install -d path/to/database -n apache/logging-log4j2

Get information about a database

gh qldb info -n apache/logging-log4j2 -l java -j
[
  {
    "commitSha": "fa2f51e",
    "committedDate": "2023-04-06T06:25:30",
    "path": "/Users/pwntester/codeql-dbs/github.com/apache/logging-log4j2/java/9b84404246d516a11091e74ef4cdcf7dfcc63fa4.zip
  }
]

Similar projects

Liked the idea? Do you want to use a similar functionality for managing your GitHub projects and clones? Try gh cdr

gh-qldb's People

Contributors

pwntester avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.