architect / tap-arc

Node.js spec-like TAP reporter
https://www.npmjs.com/package/tap-arc
Apache License 2.0
30 stars 3 forks source link

CLI Options #9

Closed tbeseda closed 2 years ago

tbeseda commented 2 years ago

fixes #4

tap-spek --help

Usage:
  tap-spek <options>

Parses TAP data from stdin, and outputs a "spec-like" formatted result.

Options:

    -v | --verbose
        Output full stack trace

    -p | --pessimistic | --bail
        Immediately exit upon encountering a failure
        example: tap-spek -p

    --padding [space, dot, <custom characters>]
        String to use when padding output (default="  ")
        example: tap-spek --padding "••"
        example: tap-spek --padding dot

    --indent [space, dot, <custom characters>]
        String to use when indenting Object diffs (default="··")
        example: tap-spek --indent ">>"
        example: tap-spek --indent space