Documentation ¶
Index ¶
- func ChooseSection(secs []core.Section, initMessage, choiceMessage string) (core.Section, bool)
- func CleanStderrMsg(stderr string) (string, string)
- func CloseDo(done chan struct{})
- func Debug(text string)
- func Do(doingText string, done chan struct{})
- func Error(text string)
- func Info(text string)
- func Style(text string, styles ...string) string
- func Success(text string)
- func Warning(text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseSection ¶ added in v0.1.3
Enters interactive mode to select among a choice of sections. The boolean returned is whether the user quit the interactive mode or not.
func CleanStderrMsg ¶ added in v0.0.2
Tectonic, TeX and even Pandoc produce A LOT of noise. This function runs through each line of stderr and allows me to filter away lines I don't want. It also splits them into errors and warnings, allowing me to separate them and style them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.