cli

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

Rockset CLI

CircleCI Documentation License GitHub issues Release

Usage

screen recording

Configuration

The Rockset CLI requires having access to an API key and an API server, which can be configured using either environment variables or a configuration file.

$ rockset list config
available configs:
-> dev (api.usw2a1.rockset.com)
   prod (api.usw2a1.rockset.com)
$ rockset update config prod
using prod
$ rockset list config
available configs:
   dev (api.usw2a1.rockset.com)
-> prod (api.usw2a1.rockset.com)
Environment variables
  • ROCKSET_APIKEY
  • ROCKSET_APISERVER
Configuration File

~/.config/rockset/cli.yaml

---
current: dev
configs:
  dev:
    apikey: ...
    apiserver: api.usw2a1.rockset.com
  prod:
    apikey: ...
    apiserver: api.use1a1.rockset.com

Building

go build -o rockset

Testing

go test ./...
Integration testing

Requires the environment variable ROCKSET_APIKEY to be set

go test ./...
Create recordings

We use vhs to record terminal sessions

vhs vhs/demo.tape

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL