From d22b5fbcea40fed7150cc03050697ef2daeb1250 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 12 Mar 2026 14:20:07 -0700 Subject: [PATCH] Add default port-from value of 5400 --- CLAUDE.md | 2 +- src/cli/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 81216eb..37892fb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -13,7 +13,7 @@ Transcript-based shell integration test runner. Bun + TypeScript. - `--path ` — prepend to `$PATH` (repeatable) - `--timeout ` — per-command timeout (default `10s`) - `-v, --verbose` — print each command as it runs - - `--port-from ` — auto-assign `$PORT` starting from n + - `--port-from ` — auto-assign `$PORT` starting from n (default `5400`) - `--parallel` — run files in parallel ## Architecture diff --git a/src/cli/index.ts b/src/cli/index.ts index 2c3a72a..b86a083 100755 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -79,7 +79,7 @@ program .option("--path ", "Prepend to PATH (repeatable)", (val: string, acc: string[]) => [...acc, val], []) .option("--timeout ", "Per-command timeout", "10s") .option("-v, --verbose", "Print each command as it runs") - .option("--port-from ", "Auto-assign $PORT starting from ") + .option("--port-from ", "Auto-assign $PORT starting from ", "5400") .option("--parallel", "Run files in parallel") .action(async (fileArgs: string[], opts) => { const timeoutMs = parseDuration(opts.timeout)