repost binary.
Global flags
Config directory
--config <dir> uses a specific config directory for local preferences and encrypted token fallback.No color
--no-color disables terminal styling for plain output.Skip update check
--skip-update-check disables the background update check on startup. REPOST_NO_UPDATE_CHECK=1 has the same effect.Command map
auth
Sign in, store a token, check status, or log out.
bucket
List buckets available to the authenticated account.
forwarder
List, pause, resume, or disable forwarders.
forward
Connect internal forwarders to the local CLI TUI.
auth
repost auth login
repost auth login
Opens browser login, receives a local callback, and stores an API token securely.If a token is already saved, this command does not replace it. Run
repost auth logout first when you need to switch accounts.repost auth token [TOKEN]
repost auth token [TOKEN]
Stores an API token for non-browser authentication. If
[TOKEN] is omitted, the CLI reads from stdin or prompts interactively. Tokens must start with rp_ and be 43 characters long.repost auth status
repost auth status
Shows whether authentication is valid. When server validation succeeds, it prints token name, type, prefix, scopes, creation time, last-used time, expiration, and auth method. If a stored token was revoked, the CLI removes it locally.
repost auth logout
repost auth logout
Attempts to revoke the stored token on the server, then removes the token saved in secure storage. It does not unset
REPOST_TOKEN.bucket
repost bucket list prints every bucket the authenticated account can access.
| Column | Meaning |
|---|---|
ID | Bucket identifier. |
NAME | Human-readable bucket name. |
SLUG | Bucket slug. Use this with repost forward -b. |
DOMAIN | Public bucket domain. |
STATUS | active or inactive. |
repost bl.
forwarder
List forwarders
--bucket <bucket-id> to list forwarders for one bucket.
| Column | Meaning |
|---|---|
ID | Forwarder identifier. |
NAME | Forwarder name. |
TYPE | Forwarder type, such as INTERNAL. |
STATUS | active, paused, or inactive. |
TARGET | Target URL, topic display, or -. |
repost fl.
Pause, resume, or disable
Run without flags for an interactive selector.repost forwarder resume also reactivates a disabled forwarder.
| Column | Meaning |
|---|---|
OUTCOME | PAUSED, RESUMED, DISABLED, or FAILED. |
NAME | Forwarder name. |
TYPE | Forwarder type. |
TARGET | Target URL, topic display, or the API error when the action failed. |
| Shortcut | Equivalent command |
|---|---|
repost fp | repost forwarder pause |
repost fr | repost forwarder resume |
repost fd | repost forwarder disable |
repost fl | repost forwarder list |
forward
repost forward connects selected internal forwarders to your local machine.
| Flag | Meaning |
|---|---|
-b, --bucket-slug <slug> | Bucket slug. Required when --forwarder is present. |
-f, --forwarder <name> | Internal forwarder name. Repeatable. Required when --bucket-slug is present. |
--pending-first | Process pending events before new real-time events. |
--skip-pending | Skip pending events for this session and receive new events only. |
--headless | Run without the TUI. Intended for CI and tests. |
--pending-first and --skip-pending. If both are present, --skip-pending takes precedence.
Target resolution:
| Input | Rule |
|---|---|
| Bucket | --bucket-slug matches the bucket slug from repost bucket list. |
| Forwarder | --forwarder matches an internal forwarder name in that bucket. |
| Partial flags | Passing only --bucket-slug or only --forwarder is rejected. |
| Multiple forwarders | Repeat --forwarder for each internal forwarder name. |
HEADLESS_READY after connection setup, then runs without the terminal UI. For automation, pass --skip-pending so startup does not wait on an interactive pending-event decision.
TUI shortcuts
| Context | Keys | Action |
|---|---|---|
| Event list | j / k, arrow keys | Move selection. |
| Event list | g / home, G / end | Jump to top or bottom. |
| Event list | space | Open details. |
| Event list | c | Copy the selected row context. |
| Event list | t | Generate types from the selected JSON request body. |
| Event list | ctrl+l | Clear local rows from the TUI. |
| Details | space, esc | Close details. |
| Details | c | Copy the detail view. |
| Details | t | Generate types from the selected JSON request body. |
| Generate types | h / l, arrow keys | Switch language. |
| Generate types | tab | Edit the type name. |
| Generate types | o | Open options. |
| Generate types | space, enter | Toggle an option, cycle a value, or commit an edited value. |
| Generate types | c | Copy generated code. |
| Generate types | esc | Close the overlay. |
| Any main view | q, ctrl+c | Quit. |
Maintenance
Version
repost version prints the binary version, and may include commit and build date metadata.Update
repost update checks for a newer release. Add --force to redownload the latest release.Environment variables
| Variable | Purpose |
|---|---|
REPOST_TOKEN | API token for non-interactive authentication. Takes priority over stored credentials. |
REPOST_CONFIG_DIR | Config directory override. |
REPOST_NO_UPDATE_CHECK=1 | Disable update checks. |
REPOST_BASE_URL | Derive API, web, and WebSocket URLs from one base domain. |
REPOST_API_URL | Override the CLI API URL. |
REPOST_WEB_URL | Override the app URL used by browser login. |
REPOST_WS_URL | Override the WebSocket URL used by repost forward. |
REPOST_BASE_URL=example.com, the CLI derives https://cli.example.com, https://app.example.com, and wss://ws.example.com/ws. Set REPOST_API_URL, REPOST_WEB_URL, or REPOST_WS_URL when one endpoint needs a different value.