Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.04 KB

This gem was originally intended to solve a problem I had with my terminal setup and watch. In reality, the issue was not with watch, and therefore this gem has no reason to exist. It has now been archived because I hoard code.


Pocketwatch

pocketwatch is a clone of the watch utility found on many UNIX-based operating systems. It exists entirely due to the fact that watch swallows CTRL-code shortcuts that aren't CTRL-C (interrupt), and as a result, makes it really difficult to use CTRL codes to navigate around terminal panes. A Ruby implementation serves the same purpose but doesn't jack up my terminal navigation.

Yes, that's the only reason this exists.

Installation

gem install pocketwatch

Usage

Usage: pocketwatch [options] -- <command>
    -v, --version                    Print the version number
    -n INTERVAL                      Length in seconds between command execution

License

The gem is available as open source under the terms of the MIT License.