Skip to content

Wrapping a dev command

Use wrap to run a Suitener check, print one summary line, then start another command with normal terminal IO.

Terminal window
suitener wrap "bun run dev"

Behavior:

  • The test check runs before the child command starts.
  • The child command inherits stdin, stdout, and stderr.
  • Results still land in suitener-results/latest.json.
  • SIGINT and SIGTERM are forwarded to the child process.
  • The child process exit code becomes the CLI exit code.

Passing check:

suitener 2 tests / 2 pass / 0 fail

Generated stubs:

suitener 1 stub generated / suitener-results/latest.json