Add default port-from value of 5400
This commit is contained in:
parent
9df431ef9a
commit
d22b5fbcea
|
|
@ -13,7 +13,7 @@ Transcript-based shell integration test runner. Bun + TypeScript.
|
|||
- `--path <path>` — prepend to `$PATH` (repeatable)
|
||||
- `--timeout <dur>` — per-command timeout (default `10s`)
|
||||
- `-v, --verbose` — print each command as it runs
|
||||
- `--port-from <n>` — auto-assign `$PORT` starting from n
|
||||
- `--port-from <n>` — auto-assign `$PORT` starting from n (default `5400`)
|
||||
- `--parallel` — run files in parallel
|
||||
|
||||
## Architecture
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ program
|
|||
.option("--path <path>", "Prepend <path> to PATH (repeatable)", (val: string, acc: string[]) => [...acc, val], [])
|
||||
.option("--timeout <dur>", "Per-command timeout", "10s")
|
||||
.option("-v, --verbose", "Print each command as it runs")
|
||||
.option("--port-from <n>", "Auto-assign $PORT starting from <n>")
|
||||
.option("--port-from <n>", "Auto-assign $PORT starting from <n>", "5400")
|
||||
.option("--parallel", "Run files in parallel")
|
||||
.action(async (fileArgs: string[], opts) => {
|
||||
const timeoutMs = parseDuration(opts.timeout)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user