taggo provides powerful decoration I/O stream. It is mainly designed for giving
powerful features to fzf (with --ansi
option).
It also provides reversion of decorated lines into original lines.
go get -u github.com/relastle/taggo
taggo can simply decorate table-like inputs like this.
Furthermore, taggo can revert decorated lines into original lines with a -r (--revert)
option (other options must be the same as used in decorating phase).
This reversion feature is very useful when taggo is used as an intermidiate stream of fzf-related tools, because you usually need non-decorated output lines after they are selected by fzf interface.
The MIT License (MIT)