Functions

f
applyInputs(
flags: ParsedFlags,
projectRoot: string,
cwd: string,
positional: readonly string[]
): ParsedFlags

Classifies raw positional targets into flags, exactly as the CLI does with argv positionals: .html fixtures become htmlPaths, a trailing #34/:34 becomes a lineTargets entry, and everything else is an absolute path in inputs (deduplicated) plus a wholeInputPaths mention.

f
parse(
projectRoot: string,
argv?: readonly string[],
cwd?: string
): Result<ParsedFlags, ParseFailure>

Parses an argv into a qunitx flag object (inputs, debug, watch, failFast, timeout, output, port, before, after).

Interfaces

I
ParsedFlags

The flag object a successful parse() carries — CLI flags only, before package.json merge.

Type Aliases

T
ParseFailure = Failure.Of<InvalidFlag>

Every way parse() can reject its input.

Variables