CLI Cheatsheet¶
A comprehensive reference of bauplan commands and their functionality.
Installation and Configuration¶
Command |
Description |
---|---|
|
Install the latest version of bauplan |
|
Show the version of the bauplan CLI |
|
Show available commands or help for one command |
|
Configure your API key |
|
Display current profile, active branch, user details, client/server versions and available runners |
Branch Management¶
Command |
Description |
---|---|
|
List all available branches. Active branch marked with * |
|
Create a new branch |
|
Switch to specified branch |
|
Show all tables in specified branch |
|
Show all open branches (not just user’s) |
|
Delete branch (only own branches) |
|
Merge branch into main (must be on main) |
|
Show differences between current and the specified branch. |
Table Management and Import¶
Command |
Description |
---|---|
|
List tables in active branch |
|
Show table metadata in active branch |
|
Create empty table from schema |
|
Import data into existing table |
|
Generate table creation plan |
|
Apply table creation plan |
|
Delete branch (only own branches) |
Pipeline Execution¶
Command |
Description |
---|---|
|
Execute pipeline in active branch |
|
Execute pipeline in memory only |
|
Execute and show table previews |
|
Reproduce a previous run |
|
Execute with data contract enforcement |
Query¶
Command |
Description |
---|---|
|
Execute query in active branch |
|
Execute query in specified branch |
|
Execute query from file in specified branch |
Important
Always prefix branch names with your username (e.g.,
<YOUR_USERNAME>.<BRANCH_NAME>
)- The
--dry-run
flag is required when: Working in the
main
branchTesting changes without materialization
- The
Materialization is not allowed in the
main
branch