Skip to content

sh.repyhlabs.dev / cli reference

repyh-console reference

Generated from the CLI itself via repyh-console llms. This is the same markdown an agent would receive piping the command's stdout; here it's rendered for humans skimming the shape of the tool.

Want the raw markdown? Download /llms.md.

repyh-console

Terminal interface to the Repyh console

repyh-console is the terminal interface to the Repyh console.

Anything you can do in the web UI should eventually be doable here. The first capability shipped is domain management; more groups follow.

Global flags

Command index

Commands

repyh-console auth

Authenticate with the console

Usage: repyh-console auth

Subcommands:

repyh-console auth login

Log in via device-code flow

Log in to the console by approving a short code in your browser.

The CLI starts a flow and prints a URL + an 8-character code. Open the URL in any browser where you're already signed into the console, confirm the code, and the CLI receives a 30-day bearer token.

Usage: repyh-console auth login [flags]

Flags:

repyh-console auth logout

Remove saved credentials

Wipe the locally-stored token and ask the server to revoke it. Next command will require repyh-console auth login.

Usage: repyh-console auth logout

repyh-console auth whoami

Show the currently authenticated user

Usage: repyh-console auth whoami

repyh-console domain

Manage DomainDeployment resources

Create, inspect, update, and delete domain deployments via the console.

Usage: repyh-console domain

Subcommands:

Flags:

repyh-console domain delete

Delete a domain

Delete a DomainDeployment. The operator's finalizer tears down the Deployment, Service, Ingress, and ConfigMaps owned by the domain. PVCs are preserved unless the CR had spec.storage.reclaimOnDelete=true.

Usage: repyh-console domain delete <id> [flags]

Flags:

repyh-console domain deploy

Create or update a domain (upsert)

Create a new DomainDeployment or partially update an existing one.

The is the domain's metadata.name; it's the stable handle for child resource names (-config, -files, ...). An existing domain with the same name is PATCHed; otherwise a new one is created.

Use -f/--from-file to supply a full CR spec in YAML (escape hatch for shapes the flags don't cover -- sidecars, affinity, raw volumes). In that mode the flag spec-builders are ignored except --emit.

--emit prints the would-be CR YAML to stdout and skips the API call -- useful for committing the CR to a Fleet-managed git path.

Usage: repyh-console domain deploy <name> [flags]

Flags:

repyh-console domain get

Show a single domain with full spec and status

Usage: repyh-console domain get <id>

repyh-console domain list

List all domains

Usage: repyh-console domain list

repyh-console domain logs

Print a domain's container logs

Print logs from a DomainDeployment's pod.

By default, prints the most recent lines and exits. Use -f to stream live until Ctrl-C. The operator runs a single main container named "domain" per pod; for sidecars (e.g. promtail on logged workloads) use -c .

Usage: repyh-console domain logs <id> [flags]

Flags:

repyh-console domain status

Show the phase and URL of a domain

Lightweight status summary -- useful for shell scripts polling for readiness.

Usage: repyh-console domain status <id>

repyh-console llms

Print AI-native documentation for this CLI

Emit a markdown reference covering every command, subcommand, and flag. Intended for coding agents: the layout follows the llms.txt convention so an LLM can learn the full shape of the CLI from a single fetch.

The documentation is generated from the live command tree -- each command contributes its own Short, Long, Usage, examples, and flag descriptions. Nothing is hard-coded, so a new subcommand starts appearing here the moment it's registered.

Usage: repyh-console llms

repyh-console upgrade

Upgrade the CLI to the latest release

Download the newest CLI binary from the console and replace this executable atomically. Pass --check to print available version info without doing the replacement.

Usage: repyh-console upgrade [flags]

Flags:

repyh-console version

Print the CLI version

Usage: repyh-console version