Commands
Core
| Command | Description |
|---|---|
ubx init | Scaffold a new ubx project |
ubx validate | Type-check .iac files without deploying |
ubx plan | Preview changes |
ubx apply | Compile and deploy |
ubx destroy | Tear down resources |
ubx refresh | Sync state with actual cloud |
ubx output | Show stack outputs |
ubx fmt | Format .iac files canonically |
AI Commands
| Command | Description |
|---|---|
ubx explain | Plain-English explanation of your infrastructure |
ubx fix | Auto-fix validation errors using AI |
ubx suggest | Generate .iac blocks from natural language |
ubx review | Security, cost, and best practices review |
ubx upgrade | Detect and apply deprecated resource upgrades |
State & Schema
| Command | Description |
|---|---|
ubx state | State management (list, show, rm, mv) |
ubx schema | Provider schemas (sync, list) |
ubx convert | Convert Terraform or Pulumi code to ubx |
Developer Tools
| Command | Description |
|---|---|
ubx test | Run .test.iac test files |
ubx console | Interactive expression REPL |
ubx docs | Open or list resource documentation |
ubx graph | Visualize resource dependency graph |
Auth & Registry
| Command | Description |
|---|---|
ubx auth | Configure cloud provider credentials |
ubx ai | Manage AI feature configuration |
ubx publish | Publish a component to the Strata registry |
ubx completion | Generate shell completion scripts |
ubx version | Show ubx version |
Global Flags
| Flag | Description |
|---|---|
--config string | Config file (default: ubx.yaml in project root) |
--env string | Target environment (overrides defaultEnv in ubx.yaml) |
--stack string | Target stack name |
--no-color | Disable color output |
