Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 931 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 931 Bytes

httpman

asciicast Link for gitea users

httpman is your manpage for HTTP. It prints info about HTTP status codes in roff, scdoc and JSON formats, and can be piped into (n|g)roff/jq for viewing.

General use

httpman 404 [200 100 ...] | nroff -man
httpman -a | nroff -man
httpman -aj | jq
httpman 404 | scdoc > 404.7

Compilation and Installation

go get -d git.sgregoratto.me/The-King-of-Toasters/httpman
cd $GOPATH/src/git.sgregoratto.me/The-King-of-Toasters/httpman
# Apply YAMLFILE.patch if needed
make
sudo make install

Credits

The idea for httpman was stolen from statcode. I was trying to immerse myself into go after reading The Go Programming Language and thought a simple program like httpman help me with that.