watch tool rewritten in go

watch

watch

watch tool rewritten in go.

Features

  • working aliases
  • configurable shell
  • windows support

Usage

watch [command]

Specify command for watch by setting WATCH_COMMAND (bash -cli by default).

export WATCH_COMMAND=`fish -c`

Example

watch git status
watch curl wttr.in
watch 'll | grep .go'

Install

go get github.com/antonmedv/watch

License

MIT

Owner
Anton Medvedev
curl medv.io
Anton Medvedev
Comments
  • (GNU options) - Implement `-v, --version`

    (GNU options) - Implement `-v, --version`

    Related to #4 this issue is to add additional options that make sense:

    Options: -b, --beep beep if command has a non-zero exit -c, --color interpret ANSI color and style sequences -d, --differences[=] highlight changes between updates -e, --errexit exit if command has a non-zero exit -g, --chgexit exit when output from command changes -n, --interval seconds to wait between updates -p, --precise attempt run command in precise intervals -t, --no-title turn off header -x, --exec pass command to exec instead of "sh -c"

    -h, --help display this help and exit -v, --version output version information and exit

    This issue is to implement the -v, --version option

  • (GNU options) - Implement `-g, --chgexit`

    (GNU options) - Implement `-g, --chgexit`

    Related to #4 this issue is to add additional options that make sense:

    Options: -b, --beep beep if command has a non-zero exit -c, --color interpret ANSI color and style sequences -d, --differences[=] highlight changes between updates -e, --errexit exit if command has a non-zero exit -g, --chgexit exit when output from command changes -n, --interval seconds to wait between updates -p, --precise attempt run command in precise intervals -t, --no-title turn off header -x, --exec pass command to exec instead of "sh -c"

    -h, --help display this help and exit -v, --version output version information and exit

    This issue is to implement the -g, --chgexit option

  • (GNU options) - Implement `-e, --errexit`

    (GNU options) - Implement `-e, --errexit`

    Related to #4 this issue is to add additional options that make sense:

    Options: -b, --beep beep if command has a non-zero exit -c, --color interpret ANSI color and style sequences -d, --differences[=] highlight changes between updates -e, --errexit exit if command has a non-zero exit -g, --chgexit exit when output from command changes -n, --interval seconds to wait between updates -p, --precise attempt run command in precise intervals -t, --no-title turn off header -x, --exec pass command to exec instead of "sh -c"

    -h, --help display this help and exit -v, --version output version information and exit

    This issue is to implement the -e, --errexit option

  • (GNU options) - Implement `-d, --differences`

    (GNU options) - Implement `-d, --differences`

    Related to #4 this issue is to add additional options that make sense:

    Options:
      -b, --beep             beep if command has a non-zero exit
      -c, --color            interpret ANSI color and style sequences
      -d, --differences[=<permanent>]
                             highlight changes between updates
      -e, --errexit          exit if command has a non-zero exit
      -g, --chgexit          exit when output from command changes
      -n, --interval <secs>  seconds to wait between updates
      -p, --precise          attempt run command in precise intervals
      -t, --no-title         turn off header
      -x, --exec             pass command to exec instead of "sh -c"
    
     -h, --help     display this help and exit
     -v, --version  output version information and exit
    

    This issue is to implement the -d, --differences option

  • (GNU options) - Implement `-b, --beep`

    (GNU options) - Implement `-b, --beep`

    Related to #4 this issue is to add additional options that make sense:

    Options:
      -b, --beep             beep if command has a non-zero exit
      -c, --color            interpret ANSI color and style sequences
      -d, --differences[=<permanent>]
                             highlight changes between updates
      -e, --errexit          exit if command has a non-zero exit
      -g, --chgexit          exit when output from command changes
      -n, --interval <secs>  seconds to wait between updates
      -p, --precise          attempt run command in precise intervals
      -t, --no-title         turn off header
      -x, --exec             pass command to exec instead of "sh -c"
    
     -h, --help     display this help and exit
     -v, --version  output version information and exit
    

    This issue is to implement the -b, --beep option

Soundcloud-watch - Watch your Soundcloud likes for removed songs

Soundcloud Watcher Tool to watch for any added/removed likes from a profile. TOD

Oct 21, 2022
Toontown Offline Launcher rewritten in Go

Toontown Offline Launcher This is an unofficial launcher I built as the current one struggles from downloading issues. Feel free to take a look at the

Sep 14, 2022
Rewritten glusterfs csi driver to use with heketi API
Rewritten glusterfs csi driver to use with heketi API

Glusterfs-Heketi CSI driver The CSI (Container Storage Interface) is a universal way to provide storage for the applications. This version of the plug

Dec 8, 2022
Rimgo - An alternative frontend for Imgur. Based on rimgu and rewritten in Go

rimgo An alternative frontend for Imgur. Based on rimgu and rewritten in Go. It'

Nov 10, 2022
rld is a tiny tool that runs a go program and watch changes on it.

RLD rld is a tiny tool that runs a go program and watch changes on it. rld was inspired by Nodemon Installation Clone the git repository and build: $

Jun 13, 2022
gpupod is a tool to list and watch GPU pod in the kubernetes cluster.

gpupod gpupod is simple tool to list and watch GPU pod in kubernetes cluster. usage Usage: gpupod [flags] Flags: -t, --createdTime with pod c

Dec 8, 2021
Block-top - Tool to watch block production

block top Continuously watch the block production from one or many (or all) lead

Jan 24, 2022
An ebpf's tool to watch traffic
An ebpf's tool to watch traffic

watch-dog watch-dog利用ebpf的能力,监听指定网卡的流量来达到旁路检测流量的目的,并使用图数据库neo4j保存节点之间的流量关系。 Get go get github.com/TomatoMr/watch-dog Install make build Usage sudo ./w

Feb 5, 2022
Harvest configuration, watch and notify subscriber

Harvester Harvester is a configuration library which helps setting up and monitoring configuration values in order to dynamically reconfigure your app

Dec 26, 2022
流媒体NetFlix解锁检测脚本 / A script used to determine whether your network can watch native Netflix movies or not
流媒体NetFlix解锁检测脚本 / A script used to determine whether your network can watch native Netflix movies or not

netflix-verify 流媒体NetFlix解锁检测脚本,使用Go语言编写 在VPS网络正常的情况下,哪怕是双栈网络也可在几秒内快速完成IPv4/IPv6的解锁判断 鸣谢 感谢 @CoiaPrant 指出对于地域检测更简便的方法 感谢 @XmJwit 解决了IPV6 Only VPS无法下载脚

Dec 29, 2022
A simple daemon which will watch files on your filesystem, mirror them to MFS, automatically update related pins, and update related IPNS keys.
A simple daemon which will watch files on your filesystem, mirror them to MFS, automatically update related pins, and update related IPNS keys.

ipfs-sync is a simple daemon which will watch files on your filesystem, mirror them to MFS, automatically update related pins, and update related IPNS keys, so you can always access your directories from the same address. You can use it to sync your documents, photos, videos, or even a website!

Dec 30, 2022
ChangeTower is intended to help you watch changes in webpages and get notified of any changes written in Go

ChangeTower is intended to help you watch changes in webpages and get notified of any changes written in Go

Nov 17, 2022
Sidecar to watch a config folder and reload a process when it changes

A small (3MB uncompressed docker image), efficient (via inotify) sidecar to trigger application reloads when configuration changes.

Dec 29, 2022
👀 A modern watch command. Time machine and pager etc.
👀 A modern watch command. Time machine and pager etc.

Viddy Modern watch command. Viddy well, gopher. Viddy well. Demo Features Basic features of original watch command. Execute command periodically, and

Jan 2, 2023
simple cli app for search and watch anime

simple terminal app for search and watch movie or anime

Oct 30, 2021
Search & watch Youtube videos from a Zoom Meeting chat bot.

Uut Download and search for Youtube videos from a Zoom meeting chatbot. Installation Download Golang and setup your environment Clone this repo Instal

Nov 2, 2021
Run The World. Command aggregator output. Define many services watch them in one place.

Run The World. Command aggregator output. Define many services watch them in one place.

Feb 2, 2022
Watch and print changes in k8s

Watch kubernetes resources and print the delta in changes.

Jan 8, 2023
A terminal application to watch crypto prices!
A terminal application to watch crypto prices!

cryptgo Latest Stable Version: Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time! Inst

Dec 21, 2022
Watch for interesting patterns in Caddy logs and send a Telegram notification.

Watch for interesting patterns in Caddy logs and send a Telegram notification.

Jul 21, 2022