constellation_utils.cli

constellation CLI — currently just constellation doctor for the MVP.

Usage: constellation doctor [–profile testing|production]

Reads the active R2 credentials via the secrets backend and prints a green/red status. Designed for fast feedback during onboarding and as a smoke step in rig deploy scripts.

Module Contents

Functions

doctor

Smoke-test that the active profile can read its credentials.

main

Tyro entry point. Dispatches subcommands.

API

constellation_utils.cli.doctor(profile: str | None = None) int[source]

Smoke-test that the active profile can read its credentials.

Args: profile: Override CONSTELLATION_PROFILE for this run (testing|production). When unset, uses the env var (defaults to testing).

constellation_utils.cli.main() None[source]

Tyro entry point. Dispatches subcommands.

Currently doctor is the only subcommand. Adding more later (e.g. bootstrap, audit) is a one-line change to the dict below.