How to add a man page to your ruby project
07-Dec-2023 809
If you have ever used the git command-line utility, you will be pleasantly surprised that if you run git clone --help it automatically displays the man page for git clone instead of the usual --help output.This blog post will show you how to add the same functionality to your Ruby command-line utility.Introducing kramdown-manMan pages are written in the roff typesetting markup language, which uses macro tags that look like .PP and \fB. Needless to say writing roff by hand is not fun. Instead, we will use the kramdown-man gem to generate the roff man page from a similar looking pure markdown man page.
How to add a man page to your ruby project #ruby #rubydeveloper #rubyonrails #project https://rubyonrails.ba/link/how-to-add-a-man-page-to-your-ruby-project