Documentation ¶
Overview ¶
Package output is responsible for formatting the final output / errors the user sees in the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatError ¶
FormatError outputs the error with proper formatting for CLI.
Types ¶
type UI ¶ added in v0.5.0
UI is used for interfacing with the terminal
func (*UI) Ask ¶ added in v0.5.0
Ask asks the user for input using the given query. The response is returned as the given string, or an error.
func (*UI) AskSecret ¶ added in v0.5.0
AskSecret asks the user for input using the given query, but does not echo the keystrokes to the terminal.
Click to show internal directories.
Click to hide internal directories.