sdk/

directory
v0.0.2-testing Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT

Directories

Path Synopsis
Package app assembles a runnable CLI from products: the unified `reearth` binary (Run with several products) or a standalone product binary (Main).
Package app assembles a runnable CLI from products: the unified `reearth` binary (Run with several products) or a standalone product binary (Main).
Package auth implements login flows (loopback + PKCE, device code), multi-account token management and transparent refresh for Re:Earth's Auth0 tenant.
Package auth implements login flows (loopback + PKCE, device code), multi-account token management and transparent refresh for Re:Earth's Auth0 tenant.
Package build holds build-time metadata injected via -ldflags.
Package build holds build-time metadata injected via -ldflags.
Package cmdtree describes the command tree as data.
Package cmdtree describes the command tree as data.
Package config manages the non-secret CLI configuration (~/.config/reearth/config.yaml) and project files (.reearth.yaml).
Package config manages the non-secret CLI configuration (~/.config/reearth/config.yaml) and project files (.reearth.yaml).
Package core is the contract between the CLI and product commands: the Product interface and the Factory that products receive.
Package core is the contract between the CLI and product commands: the Product interface and the Factory that products receive.
Package corecmd implements the commands shared by every Re:Earth CLI binary: login, accounts, config, api, skills, version and doctor.
Package corecmd implements the commands shared by every Re:Earth CLI binary: login, accounts, config, api, skills, version and doctor.
Package credstore stores account secrets in the OS keyring (macOS Keychain, Windows Credential Manager, Secret Service on Linux), with an explicit opt-in plain-file fallback for headless environments.
Package credstore stores account secrets in the OS keyring (macOS Keychain, Windows Credential Manager, Secret Service on Linux), with an explicit opt-in plain-file fallback for headless environments.
Package docs searches and reads the Re:Earth documentation through the site's llms-full.txt: every page of docs.reearth.io in one Markdown file.
Package docs searches and reads the Re:Earth documentation through the site's llms-full.txt: every page of docs.reearth.io in one Markdown file.
Package envvar is the one way the CLI reads environment variables.
Package envvar is the one way the CLI reads environment variables.
envvartest
Package envvartest replaces the environment envvar reads in tests.
Package envvartest replaces the environment envvar reads in tests.
Package httpx builds HTTP clients with authentication, retries, a User-Agent and optional debug tracing.
Package httpx builds HTTP clients with authentication, retries, a User-Agent and optional debug tracing.
Package iostreams abstracts stdin/stdout/stderr and decides how the CLI should present itself: human (TTY, colors, spinners, prompts) or machine (plain, no interaction).
Package iostreams abstracts stdin/stdout/stderr and decides how the CLI should present itself: human (TTY, colors, spinners, prompts) or machine (plain, no interaction).
Package output renders command results either for humans (tables, relative times, colors) or for programs (json, yaml, ndjson, jq), from the same data.
Package output renders command results either for humans (tables, relative times, colors) or for programs (json, yaml, ndjson, jq), from the same data.
Package prompt provides minimal, line-based interactive prompts written to stderr.
Package prompt provides minimal, line-based interactive prompts written to stderr.
Package skills renders the SKILL.md that `skills install` writes into agent skill directories.
Package skills renders the SKILL.md that `skills install` writes into agent skill directories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL