Documentation
¶
Index ¶
- func Confirm(title, description string, accessible bool) (bool, error)
- func GettingStarted(w io.Writer, color bool)
- func Human(w io.Writer, r report.Report, style Style)
- func HumanWatch(w io.Writer, timestamp string, severity report.Severity, message string, ...)
- func JSON(w io.Writer, r report.Report) error
- func NDJSON(w io.Writer, value any) error
- func PlainProgress(out io.Writer, work func(func(ProgressEvent)) (report.Report, error)) (report.Report, error)
- func RunProgress(ctx context.Context, out io.Writer, color bool, ...) (report.Report, error)
- func Select(title string, choices []Choice, accessible bool) (string, error)
- func SeverityLabel(severity report.Severity, color bool) string
- func WriteAtomic(path string, mode os.FileMode, write func(io.Writer) error) error
- type Choice
- type HomeChoice
- type ProgressEvent
- type Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GettingStarted ¶ added in v0.2.0
func HumanWatch ¶
func PlainProgress ¶
func RunProgress ¶
Types ¶
type HomeChoice ¶ added in v0.2.0
func Home ¶ added in v0.2.0
func Home(accessible bool) (HomeChoice, error)
type ProgressEvent ¶
Click to show internal directories.
Click to hide internal directories.