Skip to content

FR-7293: price components update with the API dry run - #45

Merged
frank-laemmer merged 1 commit into
mainfrom
fr-7293-accept-dryrun-on-the-environment-components-update
Nov 30, 2026
Merged

frank-laemmer merged 1 commit into
mainfrom
fr-7293-accept-dryrun-on-the-environment-components-update

Conversation

@frank-laemmer

Copy link
Copy Markdown
Member

🤖

Price frbit environments components update with the API dry run instead of in the CLI. FR-7293

  • The CLI sends the change with "dryRun": true first, shows the monthly price after the change and the payment method, and asks like apps create does.
  • New flag: --dry-run prints the price and changes nothing; with --json it prints the API response.
  • Removed: the catalog and app lookups, the currency check and --region. A script that passes --region now fails with "unknown flag".
  • Requested sizes that match the booked ones go to the API too. The API changes nothing, but a billed app still gets the question.
  • cmdutil billing helpers handle POST and PATCH; apps create and environments create keep their output.
  • Merge after the FRAPI release with FR-7293: the CLI needs dryRun on this endpoint.
  • Tests: go vet ./... and go test ./... pass.

🤖 Generated with Claude Code

🤖

Drops the CLI's own price calculation, the catalog and app lookups and --region. Adds --dry-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frank-laemmer frank-laemmer self-assigned this Nov 28, 2026
@frank-laemmer
frank-laemmer merged commit 8d9aa67 into main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant