1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00
Files
2017-10-10 09:52:53 -07:00
..
2017-10-10 09:52:53 -07:00
2017-10-10 09:52:53 -07:00

Prefixer example

See prefix.go.

Build "prefix" binary

$ git clone https://github.com/goware/prefixer.git
$ cd prefixer/example
$ go build -o prefix

Usage

Create an email reply ("> " prefix) from any text easily:

$ ./prefix
Dear John,               
did you know that https://github.com/goware/prefixer is a golang pkg
that prefixes every line with a given string and accepts any io.Reader?

Cheers,
- Jane
^D     
> Dear John,               
> did you know that https://github.com/goware/prefixer is a golang pkg
> that prefixes every line with a given string and accepts any io.Reader?
>
> Cheers,
> - Jane