Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.04 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.04 KB

vpr-overwatch

A command line utility for executing a specified command when a
file(s) is/are modified.

Usage

Error message: Missing arguments..

Usage: ./bin/vpr-overwatch /path/to/file1 /path/to/fileN -c 'command to execute' [ <optional arguments> ]
 or
Usage: ./bin/vpr-overwatch /path/to/file 'command to execute'

optional positional arguments:
  /path/to/file(s), 'command'

required arguments:
  -c            specify a command to be executed
  -f            specify a single file to monitor

optional arguments:
  -i            execute at least once initially, before modification is detected
  -r            recurse through a given directory
  -f            specify frequency in microseconds
  -v            enable minimum verbosity
  -vv           enable increased verbosity
  -vvv          enable maximum verbosity

example:
  ./bin/vpr-overwatch . 'clear && echo testing'

Building

  • Linux

    make
  • Windows (using MSVC + CMake)

    cmake.exe . -B build
    cmake.exe --build build --config Release