Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Text ¶
stolen from https://github.com/muesli/roff/blob/main/roff.go
Types ¶
type Command ¶
Command represents a command.
func NewCommand ¶
NewCommand returns a new Command.
func (*Command) AddSubCommand ¶
AddCommand adds a sub-command.
type ManPage ¶
type ManPage struct {
Root Command
Version string
Concept string
License string
Bugs string
Files string
Authors []string
ReportingBugs string
History string
Copyright string
Documentation string
// contains filtered or unexported fields
}
ManPage represents a man page generator.
func NewManPage ¶
NewManPage returns a new ManPage generator instance.
func (*ManPage) AddSection ¶
AddSection adds a section to the man page.
Click to show internal directories.
Click to hide internal directories.