Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/snaipe/go-pager

A Go writer that abstracts `$PAGER` in a POSIX-compliant way.
https://github.com/snaipe/go-pager

Last synced: about 1 month ago
JSON representation

A Go writer that abstracts `$PAGER` in a POSIX-compliant way.

Awesome Lists containing this project

README

        

# go-pager

[![GoDoc](https://godoc.org/snai.pe/go-pager?status.svg)](https://godoc.org/snai.pe/go-pager)

```
go get snai.pe/go-pager
```

A Go library to help programs call and write to the user's pager.

The library introduces a `Pager` type that abstracts a pager program as an
`io.WriteCloser`. It understands `$PAGER` in a way that is compliant with
POSIX's `man 1 man`.