Documentation ¶
Overview ¶
Package man is murex's man page parser to provide flag auto-complete suggestions
Index ¶
- func GetManPage(command string, width int) stdio.Io
- func GetManPages(exe string) []string
- func ManPageExecBlock(width int) []rune
- func ParseByPaths(command string, paths []string) ([]string, map[string]string)
- func ParseByStdio(r io.Reader) ([]string, map[string]string)
- func ParseSummary(paths []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManPages ¶
GetManPages executes `man -w` to locate the manual files
func ManPageExecBlock ¶
func ParseByPaths ¶
ParseByPaths runs the parser to locate any flags with hyphen prefixes
func ParseByStdio ¶
ParseByStdio runs the parser to locate any flags with hyphen prefixes
func ParseSummary ¶
ParseSummary runs the parser to locate a summary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.