• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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"

More Repositories