https://github.com/jiro4989/vhwatch
Simple watch CLI with monitoring multiple commands execution.
https://github.com/jiro4989/vhwatch
cli command go watch
Last synced: 9 months ago
JSON representation
Simple watch CLI with monitoring multiple commands execution.
- Host: GitHub
- URL: https://github.com/jiro4989/vhwatch
- Owner: jiro4989
- License: mit
- Created: 2019-03-21T00:30:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T15:25:31.000Z (over 7 years ago)
- Last Synced: 2025-03-31T17:50:22.435Z (over 1 year ago)
- Topics: cli, command, go, watch
- Language: Go
- Homepage:
- Size: 298 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
:toc:
:sectnums:
= vhwatch (Vertical/Horizontal Watch)
vhwatch provides watching multiple commands execution. +
vhwatch is inspired by `watch` command.
image:https://travis-ci.org/jiro4989/vhwatch.svg?branch=master["Build Status", link="https://travis-ci.org/jiro4989/vhwatch"]
== development
go version go1.11 linux/amd64
== Usage examples
please press Ctrl-C to exit vhwatch.
[source,bash]
vhwatch 'ls -1' 'echo test' 'date'
image::img/sample1.png[]
[source,bash]
vhwatch -c 1 'ls -1' 'echo test' 'date'
image::img/sample2.png[]
[source,bash]
vhwatch -c 3 'echo 1' 'echo 2' 'echo 3' 'echo 4' 'echo 5' 'echo 6' 'echo 7'
image::img/sample3.png[]
== Install
[source,bash]
go get -u github.com/jiro4989/vhwatch
or
Download binary from https://github.com/jiro4989/vhwatch/releases[Releases].
== Help
[source]
----
vhwatch provides watching multiple commands execution.
Repository: https://github.com/jiro4989/vhwatch
Author: jiro4989
Usage:
vhwatch [flags]
Examples:
vhwatch -c 3 'echo test' 'date' 'ls -1' 'ls -lah'
Flags:
-c, --col int column count (default 2)
-V, --vertical vertical split panes
-H, --horizontal horizontal split panes
-n, --interval int seconds to wait between updates (default 2)
-S, --chop-long-lines cause lines longer than the screen width to be chopped (truncated)
-h, --help help for vhwatch
--version version for vhwatch
----