Skip to content See Autonomous Agents In Action
Blog

Anomalo CLI: New Commands for Programmatic Data Quality

At Anomalo, we believe in empowering everyone in your organization to have a stake in data quality. That means that instead of pushing users to adapt their workflows to something new, we want to meet them where they already are.

For engineers, we’ve long supported a command-line interface (CLI) for interacting with Anomalo. After improvements we’ve made over the last several months, the Anomalo CLI makes it easy to programmatically manage data quality and to track changes through familiar version control systems. With more automation, your team can achieve faster deployments and maintain consistent configurations across all your tables.

Today, we’re excited to share the latest version of the CLI that lets you configure new resources in Anomalo and manage existing ones. With these updates, you’ll be one step closer to treating all of your infrastructure as code.

What are the key changes in the Anomalo CLI?

Our previous CLI revolved around two commands: save_config and load_config. For this new version, we’re expanding the CLI’s functionality with four new commands (more on the details later).

You can continue to use the CLI for the following:

  • Save a table’s check configuration to YAML
  • Edit an existing configuration by editing its YAML

Crucially, we’ve filled in a key gap and addressed a top request from customers:

  • Configure Anomalo tables and checks through the CLI with YAML

Now, engineers have end-to-end control over data quality through the CLI. It’s easier than ever to create configurations in bulk and systematically instrument your monitoring.

Overview of the new CLI

Configuration files in YAML give a declarative way for engineers to manage specifications for data quality checks. This format should be familiar to anyone who already uses dbt for orchestration.

A brief Anomalo YAML config might look like this:

With the CLI, you can configure monitoring from scratch with a YAML config as input, or you can manage an existing config. There are four main commands:

  • pull: The successor to save_config, this command creates a YAML config file based on an existing resource in Anomalo. You can quickly make a template this way.
  • apply: Similar to load_config from the previous CLI, this command configures Anomalo to match the state of the input file. Now, you can also configure a fresh table without having to use the UI or API.
  • destroy: This command deletes resources identified by the target file.
  • examine: This command locates a specified table or check and returns a YAML representation of that resource which you can then add to an existing config file.

How can you interface with Anomalo?

Between our convenient UI, API, and now the updated CLI, your team has multiple options for using Anomalo. Add on the many integrations we offer and Anomalo is accessible to stakeholders in whatever capacity they prefer.

If you’re new to Anomalo and interested in learning more, request a demo to find out how we can streamline your business’ data quality monitoring at scale. For existing customers, please contact your CS representative to learn more.

Categories

  • Product Updates

How can Anomalo help you trust your data?

Meet with our team to see how Anomalo transforms data quality from a challenge into a competitive edge.

Request a Demo

Frequently Asked Questions

1 What are the main improvements in the new Anomalo CLI?

The updated Anomalo CLI introduces new commands designed to simplify data quality management. It also features enhanced configuration options, now supporting YAML format for easier setup and management.

2 How does the new Anomalo CLI facilitate data quality management?

The improved CLI provides new commands that streamline the process of managing data quality. This allows data professionals to more easily configure and monitor their data quality checks directly from the command line.

3 Does the new Anomalo CLI support YAML for configuration?

Yes, a significant update to the Anomalo CLI is the introduction of YAML format for configuration. This makes it easier for teams to manage and version their Anomalo setups using a widely adopted and human-readable format.

4 Who is the target audience for these Anomalo CLI updates?

These updates are primarily aimed at data professionals, data engineers, and developers. The goal is to empower teams who manage data quality and frequently interact with Anomalo through command-line interfaces.