|0.1.0||Jun 1, 2021|
#11 in #snapshot
This crate provides command-line interface for
term-transcript. It allows capturing
terminal output to SVG and testing the captured snapshots.
capturesubcommand captures output from stdin, renders it to SVG and outputs SVG to stdout.
execsubcommand executes one or more commands in the shell, captures their outputs, renders to an SVG image and outputs it to stdout.
testsubcommand allows testing snapshots from the command line.
Launch the CLI with the
--help option for more details about arguments
for each subcommand.
The snapshot itself is tested, too! It also shows that SVG output by the program is editable; in the snapshot, this is used to highlight command-line args and to change color of comments in the user inputs.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in
term-transcript by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.