MeridianMERIDIAN

CLI Reference

Complete reference for every FineType command — flags, defaults, and examples.

FineType ships as a single binary with six commands. Together they form a pipeline from raw text to typed, validated, query-ready tables.

Commands

CommandDescription
inferClassify a single value or batch of values into semantic types
profileProfile a CSV file — detect the semantic type of every column
schemaExport the JSON Schema for a type (or set of types)
loadGenerate a runnable DuckDB CREATE TABLE AS statement from a profiled file
validateValidate data quality against taxonomy schemas
taxonomyBrowse and filter the type taxonomy

The pipeline

The commands map to a natural workflow:

  1. Explore — use infer to classify individual values and build intuition about your data.
  2. Discover — use profile to scan an entire CSV and see what FineType detects in every column.
  3. Capture — use schema to export the JSON Schema for any detected type, giving you a machine-readable contract.
  4. Gate — use validate to check data quality against those schemas before loading.
  5. Cast — use load to generate a DuckDB SQL statement that casts every column to its detected type.

You don't have to use every step. profile alone gives you a quick answer; load takes you from CSV to typed table in one command. The pipeline is there when you need rigour.

Getting started

If you're new to FineType, start with the Getting Started guide for a hands-on walkthrough covering installation, profiling, and schema export.

Output formats

Every command that produces output supports multiple formats via the -o / --output flag:

FormatFlag valueUse case
Plain textplainHuman-readable terminal output (default)
JSONjsonProgrammatic consumption, piping to jq
CSVcsvSpreadsheets, further analysis
MarkdownmarkdownDocumentation, reports
ArrowarrowHigh-performance IPC, streaming to DuckDB

On this page