brew update && brew tap metis-data/cli-brew && brew reinstall metis-cli
The CLI works only with MacOS and Linux
Verify the installation had finished successfully using
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" \
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")
brew tap metis-data/cli-brew && brew reinstall metis-cli