Documentation
¶
Overview ¶
Package review shows a person what the machine proposes, for them to accept or refuse: a page any browser opens, and a question on the terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Choice ¶
Choice asks a question on out and reads a line from in: the lower-cased answer, or "" with no answer.
func Docs ¶
func Docs(repo string, docs []string, in *bufio.Reader, out io.Writer, view func(string) error) (bool, error)
Docs has a person keep or drop each doc changed in the working tree, one at a time, a page showing the change on `v`; those kept are committed alone, in one `docs:` commit, whatever else is staged. It says whether it committed.
Types ¶
Click to show internal directories.
Click to hide internal directories.