#assert #cli #contain #pipe

app assert_contains_cli

very simple cli to assert a string is contained or not contained in a stream

2 releases

0.1.1 Oct 19, 2020
0.1.0 Oct 19, 2020

#658 in Testing

MIT license

3KB

assert_contains_cli

Very simple cli to assert a string is contained or not contained in a stream

Installation

cargo install assert_contains_cli

This will install 2 cli tools, assert_contains and assert_contains_not

Usage

cat myfile | assert_contains coolstuff

cat myfile | assert_contains_not mediocrestuff

No runtime deps