.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH TAP-PARSER "1" "November 2022" "tap-parser 12.0.1" "User Commands" .SH NAME tap-parser \- Test-Anything-Protocol parser for Node.js .SH DESCRIPTION .SS "Usage:" .IP tap\-parser .PP Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output uses node's `util.inspect()` method. .SH OPTIONS .HP \fB\-j\fR [] | \fB\-\-json\fR[=\fI\,indent\/\fR] .IP Output event data as JSON with the specified indentation (default=2) .HP \fB\-t\fR | \fB\-\-tap\fR .IP Output data as reconstituted TAP based on parsed results .HP \fB\-l\fR | \fB\-\-lines\fR .IP Output each parsed line as it is recognized by the parser .HP \fB\-b\fR | \fB\-\-bail\fR .IP Emit a `Bail out!` at the first failed test point encountered .HP \fB\-B\fR | \fB\-\-no\-bail\fR .IP Do not bail out at the first failed test point encountered (Default) .HP \fB\-f\fR | \fB\-\-flat\fR .IP Flatten all assertions to the top level parser .HP \fB\-F\fR | \fB\-\-no\-flat\fR .IP Do not flatten all assertions to the top level parser (Default) .HP \fB\-w\fR | \fB\-\-ignore\-all\-whitespace\fR .IP Skip over blank lines outside of YAML blocks .HP \fB\-o\fR | \fB\-\-omit\-version\fR .IP Ignore the `TAP version 13` or `TAP version 14` line at the start of tests .HP \fB\-\-strict\fR .IP Run the parser in strict mode .HP \fB\-\-no\-strict\fR .IP Do not run the parser in strict mode .HP \fB\-s\fR | \fB\-\-silent\fR .IP Do not print output, just exit success/failure based on TAP stream