controlio-check-grep

controlio module for grepping text files

Usage no npm install needed!

<script type="module">
  import controlioCheckGrep from 'https://cdn.skypack.dev/controlio-check-grep';
</script>

README

controlio-check-grep

A check module for controlio.

Description

Uses grep to check a file for an expression.

Options

  • expression: Expression for grep to check against
  • file: Path to file that is to be checked
  • flags: Optional flags for grep, for example -v
  • negative: Boolean: Check is true if grep command fails

TODO

  • Allow specifying a shell command, grep its output.