Skip to content
← All release notesNewanfra0.4.0

Explore your semantic layer with anfra show and anfra search

Look up datasets, fields and metrics from the terminal, search them in plain words, and query a data source with SQL.

  • anfra show lists the repo's datasets with their models, fields and metrics, and anfra show <dataset> shows one in full.
  • anfra ingest builds a local catalog from your AML and the context sources in .anfra/context_sources.yml, and anfra search "monthly revenue" searches it.
  • anfra query --lang sql -s <data source> runs SQL on a data source directly, to look at the raw tables before you model them.

Your coding agent uses the same commands to find the right metric before it writes a query.

Full changelog (opens in a new tab)