Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RookDB CLI

An interactive SQL REPL for RookDB — type SQL statements directly in your terminal.


Installation

macOS — Homebrew

brew install RookDB/tap/rookdb-cli

Linux — Shell Installer

curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/RookDB/rookdb-cli/releases/latest/download/rookdb-installer.sh \
  | sh

Windows — PowerShell

irm https://github.com/RookDB/rookdb-cli/releases/latest/download/rookdb-installer.ps1 | iex

Or download the .msi installer directly from the Releases page.

Build from source

Requires Rust.

cargo install rookdb-cli

Usage

rookdb
--------------------------------------
Welcome to RookDB
--------------------------------------

> CREATE DATABASE mydb;
> USE mydb;
> CREATE TABLE users (id INT NOT NULL, name VARCHAR(100));
> INSERT INTO users VALUES (1, 'Alice');
> SELECT * FROM users;
> exit

For the full user guide see the documentation.


Releasing a new version

  1. Bump the version in Cargo.toml
  2. Commit and tag:
git commit -am "release: v0.2.0"
git tag v0.2.0
git push && git push --tags

The GitHub Actions release workflow automatically builds cross-platform binaries, generates all installers, publishes a GitHub Release, and updates the Homebrew formula.


License

Apache-2.0 — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages