soluble-cli

command module
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

Soluble CLI

This is the command line interface for Soluble.

Installation

On MacOS use homebrew:

brew install soluble-ai/soluble/soluble-cli

To upgrade to the latest version:

brew upgrade soluble-ai/soluble/soluble-cli

On linux, run:

wget -O - https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh
# or
curl https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh

The install will drop the executable in the current directory. Move it to wherever is convenient.

Windows executables can be found on the releases page.

Build from source

It's possible to build from source. Assuming you have go installed:

git checkout https://github.com/soluble-ai/soluble-cli.git
./hack/build.sh
./soluble version

Usage

You'll need to generate an access token from the UI. Copy the access token and run:

soluble auth set-access-token --access-token <your-access-token>

If successful the CLI will show your user profile.

Some useful commands:

# get help
soluble help
# deploy an agent
soluble agent deploy
# list clusters
soluble cluster list
# list queries
soluble query list
# run a query
soluble query run --query-name deployments

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
aws
pkg
log

Jump to

Keyboard shortcuts

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