Command Line Interface
Upgrade your Coalesce CLI to version 7.0.18. Versions below 7.0.18 will not be compatible with Coalesce version 7.2.x and above.
Coalesce provides a CLI (Command Line Interface, or coa) to enable automated CI/CD workflows for Coalesce projects. The CLI coa is intended for users with stringent on-premise data requirements and connects directly to Snowflake from your local environment instead of using the Coalesce cloud backend to route Snowflake SQL commands and data.
The CLI and SaaS app can be used in tandem. For example, users may prefer our SaaS app for development and switch to our CLI for production, or choose to deploy using the GUI and refresh the data warehouse via the CLI.
Coalesce CLI uses an outbound connection to Coalesce metadata for tracking environment state and execution results.
How does Coalesce CLI work?
- The user commits their Coalesce project to a git repository using the SaaS app.
- The git repository is cloned to a local machine on which
coa
is installed. - The user executes code locally with
coa
commands.coa
reads the files from the locally cloned git commit and deploys the metadata configuration to an environment. - The deploy saves the metadata configuration to the environment, so that future refreshes use the current state of the data warehouse stored in the metadata.
The team will run the refresh every hour, only issuing a deploy when a structural change to the data warehouse is needed.