tailer

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2023 License: MIT

README

tailer

Go

I was inspired by samwho/spacer, which was written in Rust, and I really liked it. I decided to write it in Go, and here we go! :)

tailer is a simple CLI tool to insert lines when command output stops.

Installation

go install github.com/hionay/tailer/cmd/tailer@latest

Usage

Here are the commands and flags you can use with tailer:

COMMANDS:
   exec, e  execute a command and tail its output
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --no-color               disable color output (default: false)
   --after value, -a value  duration to wait after last output (default: 1s)
   --dash value, -d value   dash character to print (default: "─")
   --help, -h               show help
   --version, -v            print the version

You can use tailer to execute a command with exec without the need for piping.

$ tailer exec "python3 -m http.server 9300"

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL