Very simple cli to assert a string is contained or not contained in a stream
cargo install assert_contains_cli
This will install 2 cli tools, assert_contains
and assert_contains_not
cat myfile | assert_contains coolstuff
cat myfile | assert_contains_not mediocrestuff