spacer icon

spacer

CLI for spacing between commands.

github.com
Screenshot of spacer

About spacer

spacer is a simple CLI tool designed to insert spacers when command output ceases. It is particularly useful for users who habitually press enter multiple times in their log tails to distinguish between the end of one request and the start of another. By default, spacer outputs a spacer after one second of no output, though this interval can be adjusted with the --after flag, which accepts both integer and floating-point numbers for precision.

The tool focuses on monitoring STDOUT and may not function correctly if the command outputs primarily to STDERR. In such cases, redirecting STDERR to STDOUT using 2>&1 can resolve the issue. Installation is straightforward, with options to install via Homebrew (brew install spacer) or directly from Cargo (cargo install spacer).

📊 Repository Stats

Stars
1.6K
Forks
19
Last commit
18 days ago
Repository age
2 years
License
MIT License

Auto-fetched from GitHub today.