https://github.com/pseitz/assert_contains_cli
very simple cli to assert a string is contained or not contained in a stream
https://github.com/pseitz/assert_contains_cli
Last synced: about 1 year ago
JSON representation
very simple cli to assert a string is contained or not contained in a stream
- Host: GitHub
- URL: https://github.com/pseitz/assert_contains_cli
- Owner: PSeitz
- License: mit
- Created: 2020-10-19T12:03:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-19T12:13:27.000Z (over 5 years ago)
- Last Synced: 2025-02-28T04:50:16.386Z (over 1 year ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`