Created
June 15, 2016 20:49
-
-
Save radare/ffb614b14eea879ffdbebe5c9bd1ab2e to your computer and use it in GitHub Desktop.
NodeJS man-like tool for module's README
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH="$(npm bin):$PATH" | |
for a in readme ansimd ; do | |
type $a > /dev/null || npm install $a | |
done | |
readme "$1" | ansimd /dev/stdin | less -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment