Skip to main content

Open

cmd/crewship/cmd_open.go opens the relevant web-UI page for a CLI resource in your default browser. The point: do everything in the terminal until you hit something better viewed visually (a chat, a mission timeline, an approval queue), then jump. open deliberately does not require auth — it’s just a URL resolver. The browser handles login if needed. Cross-platform launcher: open (macOS), cmd /c start "" (Windows), xdg-open (Linux). Dependency-free — uses os/exec rather than a Go browser library.

crewship open <resource> [id]

Resources

All IDs are url.PathEscape’d, so slugs with : or other reserved characters survive.

Examples

Common errors

  • unknown resource "foobar" (try: inbox, activity, agent[s], crew[s], chat, mission, journal, approvals, integrations, routines, issues, runs, settings, admin, audit, credentials) — typo or unsupported resource.
  • <resource> requires exactly 1 argument(s), got 0 — missed the ID.

See also

  • crewship inbox — the same destination, but stays in the terminal.
  • crewship login — the --server flag this command honours. The browser URL uses the effective server (--server → active profile → CREWSHIP_SERVER env → config), so it opens the same instance other commands dial.