The onepin CLI is bundled with pip install onepin. It provides a terminal interface for all OnePin operations — useful for scripting, CI pipelines, and interactive exploration.
Table (default): rich columns, truncated to terminal width, color-coded status values.
JSON (--json): machine-readable, unwrapped .data payload. Pipe to jq:
Errors always go to stderr, even in --json mode. Successful data always goes to stdout.
NO_COLOR=1 env var disables all ANSI output (honors the W3C spec)ONEPIN_ASCII=1 or --no-unicode: replaces Unicode glyphs (✓ → [ok], ✗ → [err]) for Windows cmd.exe or SSH-piped environments--api-key flagONEPIN_API_KEY environment variable~/.onepin/credentials file (written by onepin login)See Authentication for the full credential resolution spec.