Author:
Source
Ever notice how when you run
git clone --help
it displays it’s own man page instead of the usual --help
output? Ever wanted to add that same functionality to your Ruby CLI to make it more user friendly? In this blog post I will walk you through how to write a man page and add it to your Ruby command.