Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/relastle/taggo

:maple_leaf: Decorating I/O Stream
https://github.com/relastle/taggo

Last synced: about 2 months ago
JSON representation

:maple_leaf: Decorating I/O Stream

Awesome Lists containing this project

README

        

# taggo

[![CircleCI](https://circleci.com/gh/relastle/taggo/tree/master.svg?style=shield)](https://circleci.com/gh/relastle/taggo/tree/master)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frelastle%2Ftaggo.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Frelastle%2Ftaggo?ref=badge_shield)
[![Go Report Card](https://goreportcard.com/badge/github.com/relastle/taggo)](https://goreportcard.com/report/github.com/relastle/taggo)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a3eaf1d737d54d86b9727477519439c0)](https://www.codacy.com/app/relastle/taggo?utm_source=github.com&utm_medium=referral&utm_content=relastle/taggo&utm_campaign=Badge_Grade)

taggo provides powerful decoration I/O stream. It is mainly designed for giving
powerful features to [fzf](https://github.com/junegunn/fzf) (with `--ansi` option).
It also provides reversion of decorated lines into original lines.

## Installation

```sh
go get -u github.com/relastle/taggo
```
## Usage

taggo can simply decorate table-like inputs like this.

Screen Shot 2019-06-30 at 20 43 22

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).

Screen Shot 2019-06-30 at 20 49 44

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.

## [License](LICENSE)

The MIT License (MIT)