Skip to content

Commit 99aacab

Browse files
mdesmetclaude
andcommitted
feat(dbt-tools): build entire project when no --model flag given
`altimate-dbt build` without arguments now builds the whole project via `unsafeBuildProjectImmediately`, replacing the need for the separate `build-project` command. Updated all dbt skill references accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 79c34c5 commit 99aacab

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

.opencode/skills/dbt-analyze/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ If no manifest is available:
111111
1. Run `lineage_check` on the changed SQL
112112
2. Show column-level data flow
113113
3. Note: downstream impact requires a manifest
114-
4. Suggest: `altimate-dbt build-project` to generate one
114+
4. Suggest: `altimate-dbt build` to generate one
115115

116116
## Common Mistakes
117117

.opencode/skills/dbt-analyze/references/altimate-dbt-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ altimate-dbt info # Project name, adapter, root
2020
## Build & Run
2121

2222
```bash
23-
altimate-dbt build --model <name> [--downstream] # compile + run + test
23+
altimate-dbt build # full project build (compile + run + test)
24+
altimate-dbt build --model <name> [--downstream] # build a single model
2425
altimate-dbt run --model <name> [--downstream] # materialize only
2526
altimate-dbt test --model <name> # run tests only
26-
altimate-dbt build-project # full project build
2727
```
2828

2929
## Compile

.opencode/skills/dbt-develop/references/altimate-dbt-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ altimate-dbt info # Project name, adapter, root
2020
## Build & Run
2121

2222
```bash
23-
altimate-dbt build --model <name> [--downstream] # compile + run + test
23+
altimate-dbt build # full project build (compile + run + test)
24+
altimate-dbt build --model <name> [--downstream] # build a single model
2425
altimate-dbt run --model <name> [--downstream] # materialize only
2526
altimate-dbt test --model <name> # run tests only
26-
altimate-dbt build-project # full project build
2727
```
2828

2929
## Compile

.opencode/skills/dbt-docs/references/altimate-dbt-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ altimate-dbt info # Project name, adapter, root
2020
## Build & Run
2121

2222
```bash
23-
altimate-dbt build --model <name> [--downstream] # compile + run + test
23+
altimate-dbt build # full project build (compile + run + test)
24+
altimate-dbt build --model <name> [--downstream] # build a single model
2425
altimate-dbt run --model <name> [--downstream] # materialize only
2526
altimate-dbt test --model <name> # run tests only
26-
altimate-dbt build-project # full project build
2727
```
2828

2929
## Compile

.opencode/skills/dbt-test/references/altimate-dbt-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ altimate-dbt info # Project name, adapter, root
2020
## Build & Run
2121

2222
```bash
23-
altimate-dbt build --model <name> [--downstream] # compile + run + test
23+
altimate-dbt build # full project build (compile + run + test)
24+
altimate-dbt build --model <name> [--downstream] # build a single model
2425
altimate-dbt run --model <name> [--downstream] # materialize only
2526
altimate-dbt test --model <name> # run tests only
26-
altimate-dbt build-project # full project build
2727
```
2828

2929
## Compile

.opencode/skills/dbt-troubleshoot/references/altimate-dbt-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ altimate-dbt info # Project name, adapter, root
2020
## Build & Run
2121

2222
```bash
23-
altimate-dbt build --model <name> [--downstream] # compile + run + test
23+
altimate-dbt build # full project build (compile + run + test)
24+
altimate-dbt build --model <name> [--downstream] # build a single model
2425
altimate-dbt run --model <name> [--downstream] # materialize only
2526
altimate-dbt test --model <name> # run tests only
26-
altimate-dbt build-project # full project build
2727
```
2828

2929
## Compile

packages/dbt-tools/src/commands/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { DBTProjectIntegrationAdapter, CommandProcessResult } from "@altima
22

33
export async function build(adapter: DBTProjectIntegrationAdapter, args: string[]) {
44
const model = flag(args, "model")
5-
if (!model) return { error: "Missing --model" }
5+
if (!model) return project(adapter)
66
const downstream = args.includes("--downstream")
77
const result = await adapter.unsafeBuildModelImmediately({
88
plusOperatorLeft: "",

0 commit comments

Comments
 (0)