Documentation
¶
Overview ¶
Package helpgolden renders what tt prints for help and completion, for tests that pin it against a golden file: the --help of every command, the bash completion script and the completions of the first word.
The rendering takes the command tree from a function, so that every way of assembling tt can be compared against the same golden file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
Compare compares got with the golden file at path, or rewrites the file with got when update is set.
Types ¶
Click to show internal directories.
Click to hide internal directories.