sapk/gocqlcli

A simple wrapper around https://github.com/gocql/gocql to execute script file (try to keep compat args with cqlsh)

★ 2Forks 0GoGitHub ↗Compare

README

gocqlcli

A simple wrapper around https://github.com/gocql/gocql to execute script file (try to keep compat args with cqlsh)

Usage: gocqlcli [options] [host [port]]
Options:
  -e string
    	Execute the CQL statement and exit.
  -f string
    	Execute commands from FILE, then exit.
  -k string
    	Use the given keyspace. Equivalent to issuing a USE keyspace command immediately after starting cqlsh.
  -p string
    	Authenticate using password. Default = cassandra (default "cassandra")
  -u string
    	Authenticate as user. Default = cassandra. (default "cassandra")

The main goal is to have a cross-patform solution with no deps to deploy cassandra script file or single command easily.

Contributors

sapk

Issues