0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A clone of UNIX 'watch'.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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.