Scenario Commands
Budget scenario CRUD (save, list, compare, delete).
Commands
optimal scenario save
Save current projections as a named scenario
| Flag | Description | Default | Required |
|---|---|---|---|
--name <name> | Scenario name | yes | |
--adjustment-type <type> | Adjustment type: percentage or flat | yes | |
--adjustment-value <n> | Adjustment value | yes | |
--description <desc> | Description | ||
--fiscal-year <fy> | Fiscal year | 2025 | |
--user-id <uuid> | User UUID |
bash
optimal scenario save --name "baseline-plus-5" --adjustment-type percentage --adjustment-value 5
optimal scenario save --name "flat-10k" --adjustment-type flat --adjustment-value 10000optimal scenario list
List all saved budget scenarios
bash
optimal scenario listoptimal scenario compare
Compare two or more scenarios side by side
| Flag | Description | Default | Required |
|---|---|---|---|
--names <csv> | Comma-separated scenario names | yes |
bash
optimal scenario compare --names "baseline,baseline-plus-5,flat-10k"optimal scenario delete
Delete a saved scenario
| Flag | Description | Default | Required |
|---|---|---|---|
--name <name> | Scenario name | yes |
bash
optimal scenario delete --name "old-scenario"