command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AskCmd

type AskCmd struct {
	Query string `arg:"" help:"Natural language query to convert to SQL."`
}

func (*AskCmd) Run

func (c *AskCmd) Run(globals *Globals) error

type ExecCmd

type ExecCmd struct {
	SQL string `arg:"" help:"SQL statement to execute."`
}

func (*ExecCmd) Run

func (c *ExecCmd) Run(globals *Globals) error

type GUICmd

type GUICmd struct {
	Port   int  `help:"Port to listen on." short:"P" default:"8080"`
	NoOpen bool `help:"Do not open browser automatically."`
}

func (*GUICmd) Run

func (c *GUICmd) Run(globals *Globals) error

type Globals

type Globals struct {
	Profile         string
	Debug           bool
	AWSConfig       aws.Config
	ClusterArn      string
	SecretArn       string
	Database        string
	BedrockModel    string
	BedrockLanguage string
}

type TUICmd

type TUICmd struct{}

func (*TUICmd) Run

func (c *TUICmd) Run(globals *Globals) error

Jump to

Keyboard shortcuts

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