28Smiles / cqlsh-rs

An implemenation of cqlsh in rust, cause cqlsh is python 2 :(

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Main MIT licensed Latest Stable Latest Release

cqlsh-rs: The Rust-CQL shell

cqlsh-rs is a command-line interface for interacting with Cassandra using CQL (the Cassandra Query Language). Originally shipped with every Cassandra package and implemented in Python 2, this tool is reimplemented in Rust.

Command Line Options

Usage:

cqlsh [options] [host [port]]

Options:

-u --user

Username to authenticate against Cassandra with

-p --password

Password to authenticate against Cassandra with, should be used in conjunction with --user

-k --keyspace

Keyspace to authenticate to, should be used in conjunction with --user

-f --file

Execute commands from the given file, then exit

-e --execute

Execute the given statement, then exit

--connect-timeout

Specify the connection timeout in seconds (defaults to 2s)

Special Commands

In addition to supporting regular CQL statements, cqlsh also supports a number of special commands that are not part of CQL. These are detailed below.

EXIT

Ends the current session and terminates the cqlsh process.

About

An implemenation of cqlsh in rust, cause cqlsh is python 2 :(

License:MIT License


Languages

Language:Rust 100.0%