package
0.3.0
Repository: https://github.com/alecsammon/cobraman.git
Documentation: pkg.go.dev

# README

Example

This directory directory contains a simple example application created with the cobra command.

cobra init
conra add hello
cobra add goodbye

I then added the code in docutil to create a little utility that generates the documentation for the example application. This utility uses the CreateDocGenCmdLineTool and related functions to a create a command-line tool for generating does just for this example application.

To generate the sample documentation do:

cd example/docutil
go build
./docutil generate-troff

Or run ./docutil --help to see additional options.

# Packages

Package cmd is an example cobra application used to demonstrate the output of cobraman.
Package main generates the documentation for the example application.