Getting Started

Installation

brew update && brew tap metis-data/cli-brew && brew reinstall metis-cli
Else, you can download the CLI from GitHub.
The CLI works only with MacOS and Linux
Verify the installation had finished successfully using metis-cli --version

Run a command

One of the very first things you may want to do with metis-cli , is creating a new connection to your database.
metis-cli add-connection "connection-name" "postgres" \
"postgresql://user:[email protected]:5432/database-name" \
"connection-description"

Work in the interactive (REPL) Mode

To work in the interactive mode simply run the command metis-cli . The terminal will show you the current version and wait for your next command.
Now you can run the command as a function, parameters are separated by commas.
addConnection("connection-name", "postgres", "postgresql://user:[email protected]:5432/database-name", "connection-description")

Update the CLI

brew tap metis-data/cli-brew && brew reinstall metis-cli