ui

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL