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