Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/relastle/taggo
- Owner: relastle
- License: mit
- Created: 2019-06-26T09:07:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T01:48:25.000Z (over 5 years ago)
- Last Synced: 2024-06-20T05:20:03.458Z (7 months ago)
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```
## Usagetaggo 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.## [License](LICENSE)
The MIT License (MIT)