Skip to content

hionay/tailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages