#558

fix(cli): keep stdout for results and add --json to list, get, and doctor

Openlahfirwants to merge intofrom
  1. Run mode mixed portless status lines into the app's stdout, FORCE_COLOR=0 turned color on, and scripts had no structured way to read routes, URLs, or doctor findings.
  2. Portless now writes its own status lines to stderr, treats FORCE_COLOR=0 as off and an empty NO_COLOR as unset, and list, get, and doctor accept --json.
  3. Builds on #557. Related to #257, #535, and #163.

Activity

26
vercel[bot]7d ago

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated
portless ReadyPreview, v0Nov 11, 2026 6:33am UTC
vercel[bot]reviewed7d ago
vercel[bot]7d ago

Additional findings

  1. packages/portless/src/cli.ts:1702-1706 — With --tailscale, --funnel, --ngrok, or --cloudflare, tunnel status lines still go to stdout and corrupt the app's machine-readable output.

ctateapproved changes7d ago
ctateapproved changes7d ago
ctateapproved changes6d ago