Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1" // version of the ai binary
Functions ¶
func Exit ¶
func Exit(err error)
Exit checks error and exit with the following code: 0 -- no error 1 -- general failure 2 -- user error
func NewUserInputError ¶
func NewUserInputErrorf ¶
Types ¶
type UserInputError ¶
type UserInputError struct {
// contains filtered or unexported fields
}
UserInputError represents user input error.
func (*UserInputError) Error ¶
func (r *UserInputError) Error() string
Directories
¶
| Path | Synopsis |
|---|---|
|
choose
Package choose provides an interface to choose one option from a given list of options.
|
Package choose provides an interface to choose one option from a given list of options. |
|
confirm
Package confirm provides an interface to ask a user to confirm an action.
|
Package confirm provides an interface to ask a user to confirm an action. |
|
file
Package file provides an interface to pick a file from a folder (tree).
|
Package file provides an interface to pick a file from a folder (tree). |
|
util/tty
Package tty provides tty-aware printing.
|
Package tty provides tty-aware printing. |
|
write
Package write provides a shell script interface for the text area bubble.
|
Package write provides a shell script interface for the text area bubble. |
|
data
|
|
Click to show internal directories.
Click to hide internal directories.