The lineward command line
One binary: the language server, the MCP server and one-shot commands with Markdown output. The language server is free; unattended use is paid and reads its key from LINEWARD_LICENSE_KEY.
Commands
| Command | What it does | Tier |
|---|---|---|
| lineward lspThe language server over stdio — what editors and agent harnesses launch. | The language server over stdio — what editors and agent harnesses launch. | Free |
| lineward mcp --stdio [--project <path>]The MCP server with no editor, one process per agent session. | The MCP server with no editor, one process per agent session. | Pro |
| lineward mcp --http <port> [--health-port <port>]The same server over local HTTP, with a health route for containers. | The same server over local HTTP, with a health route for containers. | Pro |
| lineward check [--since <git-ref>] [--format markdown|json|sarif] [--severity error|warning|info|hint] [--limit <n>] [--offset <n>]Every diagnostic of the project, once, with an exit code — for CI, hooks and agents. --since reports only what a change is answerable for. | Every diagnostic of the project, once, with an exit code — for CI, hooks and agents. --since reports only what a change is answerable for. | Pro |
| lineward context <model>Everything about one model, seed, snapshot or exposure, in one answer. | Everything about one model, seed, snapshot or exposure, in one answer. | Pro |
| lineward blast-radius <model> [column] [--limit <n>] [--offset <n>] [--depth <n>]What breaks downstream, each node with its file, if a model, seed, snapshot, source table or column changes. | What breaks downstream, each node with its file, if a model, seed, snapshot, source table or column changes. | Pro |
| lineward lineage <model> [column] [--direction upstream|downstream] [--depth <n>]Trace a model, a source table or one column up or down the DAG. | Trace a model, a source table or one column up or down the DAG. | Pro |
| lineward export-lineage --format openlineage --namespace snowflake://<org>-<account> [--events run|job] [--output <file>]Model and column lineage as OpenLineage events, for your governance catalog; sends nothing. | Model and column lineage as OpenLineage events, for your governance catalog; sends nothing. | Pro |
| lineward search <query> [--type model|seed|snapshot|exposure|source|macro|column] [--limit <n>] [--offset <n>]Ranked search across models, seeds, snapshots, exposures, sources, macros and columns, packages included. | Ranked search across models, seeds, snapshots, exposures, sources, macros and columns, packages included. | Pro |
| lineward validate <file|->Render the Jinja of a SQL file and report what the editor would on a model that needs no upstream column or YAML — syntax, GROUP BY, argument counts, types, time zones, dead CTEs — writing nothing. | Render the Jinja of a SQL file and report what the editor would on a model that needs no upstream column or YAML — syntax, GROUP BY, argument counts, types, time zones, dead CTEs — writing nothing. | Pro |
| lineward init-agent [--project <path>] [--file <file>]Writes a section of its own into AGENTS.md, so your coding agent knows the workflow. | Writes a section of its own into AGENTS.md, so your coding agent knows the workflow. | Free |
| lineward scaffold <model>A complete schema.yml entry inferred from the model’s SQL. | A complete schema.yml entry inferred from the model’s SQL. | Pro |
| lineward settings [--format markdown|json]Every setting’s effective value and where it comes from, each code’s level on enabled and disabled models, and the settings that have no effect or disagree, each with a correction. Changes nothing. | Every setting’s effective value and where it comes from, each code’s level on enabled and disabled models, and the settings that have no effect or disagree, each with a correction. Changes nothing. | Free |
Exit codes
- exit 0
- Success; for check, nothing at or above the severity threshold; for export-lineage, the events written.
- exit 1
- check found something at or above the threshold; a tool reported an error (unknown model; for validate, SQL with a finding left at error); or export-lineage --strict left something out.
- exit 2
- Usage or I/O error: bad flag, no dbt_project.yml, unreadable file, a --since ref that is not a commit, an export-lineage with no dataset namespace or a file it cannot write; for mcp --http, a --bind address beyond the local machine.
- exit 3
- No active license. stderr says which variable to set, or why the key is inactive; nothing is written to stdout.
Settings on every surface — lineward.toml
- lineward.toml at the project root (or --config <file>): groups are tables, keys keep their settings names — [diagnostics.severity] LW011 = "off"
- the editor’s settings; a headless command reads the workspace’s .vscode/settings.json instead
- the defaults
Each setting and its lineward.toml key: the settings reference.
Get the binary on the install page, wire it into your harness on the agent setup page, or build it into a container for CI.