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
- Host: GitHub
- URL: https://github.com/alecthomas/mango-kong
- Owner: alecthomas
- License: mit
- Created: 2022-02-05T04:16:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T12:22:01.000Z (over 1 year ago)
- Last Synced: 2025-03-11T13:29:19.608Z (over 1 year ago)
- Language: Go
- Size: 148 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
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:
