An SDK with shared TUI components, behaviours and utilities for building CLIs that handle blueprint deployments such as the Bluelink and Celerity CLIs.
go get github.com/newstack-cloud/deploy-cli-sdkThe SDK provides the following packages:
- commands — Shared CLI command factories (deploy, destroy, stage, cleanup, state) parameterised by a
CLIConfigfor branding and defaults. - tui — Bubbletea TUI models for interactive deployment workflows including staging, deploying, destroying, state import/export, and drift review.
- diagutils — Converts blueprint diagnostic errors into actionable CLI commands and registry links.
- jsonout — Structured JSON output types for headless/CI mode across all operations.
- stateio — Import/export of deploy engine state from/to local files and remote storage (S3, GCS, Azure Blob).
- config — Configuration provider with flag and environment variable binding.
- engine — Deploy engine client setup and configuration.
- styles — TUI colour palettes and styling utilities.
- headless — Headless mode flag validation and output formatting.