edgedb / edgedb-cli

The EdgeDB CLI
https://www.edgedb.com/docs/cli/index
Apache License 2.0
167 stars 23 forks source link
command-line edgedb repl

EdgeDB Command-line Tools

This repository contains edgedb command-line tool rewritten in rust.

Install

Install the latest stable build with:

curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh

Nightly builds can be installed with:

curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh -s -- --nightly

Development

Use cargo for building it:

cargo build
cargo run -- --admin -d tutorial
cargo test

Tests

There are a few categories of tests in this repo:

Code Quality Assurance

This project uses rustfmt and clippy to provide a unified code style. When opening pull requests, it is advised to run the following commands before doing so:

$ cargo clippy --all-features --workspace --all-targets
$ cargo fmt

License

Licensed under either of

at your option.