/spin

Execute a command and display a scrolling block of logs

Primary LanguageShellMIT LicenseMIT

Spin

Execute a command and display a scrolling block of logs

Inspired by Docker's layer build output.

example

Usage

Simple usage:

spin -- bin/example

Customize the colors (ANSI codes), number of lines streamed, and title:

spin \
--title 'just an example' \
--lines 7 \
--color-logs 235 \
--color-spinner 41 \
--color-title 99 \
-- bin/example