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

https://github.com/alecthomas/mango-kong

Mango (man page generator) integration for Kong
https://github.com/alecthomas/mango-kong

Last synced: over 1 year ago
JSON representation

Mango (man page generator) integration for Kong

Awesome Lists containing this project

README

          

# Mango (man page generator) integration for Kong

This package allows [Kong](https://github.com/alecthomas/kong) packages
to generate man pages using [Mango](https://github.com/muesli/mango).

Simply add `mangokong.ManFlag` to your CLI struct:

```go
var cli struct {
Man mangokong.ManFlag `help:"Write man page."`
}
```

## Example

This is what the [included example](./example) looks like:

![example.1](example.1.png)