Documentation
¶
Overview ¶
Package ui contains terminal UI flows used by the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBanner ¶
func PrintBanner(version string)
PrintBanner prints the colored ASCII art banner and a welcome line.
Types ¶
type ConnectionValues ¶
type ConnectionValues struct {
Database string
Username string
Port string
Host string
Password string
}
ConnectionValues contains connection details collected from the interactive form.
func RunConnectionForm ¶
func RunConnectionForm(database, username, host, port string) (ConnectionValues, error)
RunConnectionForm starts the interactive connection form and returns collected values.
Click to show internal directories.
Click to hide internal directories.