Versions in this module Expand all Collapse all v0 v0.1.0 Aug 19, 2026 Changes in this version + var ErrLintFindings = errors.New("lint found errors") + type CLI struct + Diff DiffCmd + Fmt FmtCmd + Lint LintCmd + Migrate MigrateCmd + Status StatusCmd + Suggest SuggestCmd + Version kong.VersionFlag + func New() *CLI + type DBFlags struct + CACert string + Debug bool + LockTimeout time.Duration + StatementTimeout time.Duration + URL string + func (f DBFlags) Config() dbconn.Config + type DiffCmd struct + Desired string + JSON bool + SQL bool + Schema string + func (c *DiffCmd) Run() error + func (c *DiffCmd) Validate() error + type FmtCmd struct + Path string + func (c *FmtCmd) Run() error + type LintCmd struct + JSON bool + Path string + func (c *LintCmd) Run() error + type MigrateCmd struct + Alter string + DryRun bool + Force string + IndexBuildTimeout time.Duration + JSON bool + LockAttempts int + LockBackoff time.Duration + LockBackoffMax time.Duration + MaxTableSize byteSize + ValidateTimeout time.Duration + func (c *MigrateCmd) Run() error + func (c *MigrateCmd) Validate() error + type OutputFlags struct + Color string + type StatusCmd struct + JSON bool + func (c *StatusCmd) Run() error + type SuggestCmd struct + JSON bool + Path string + func (c *SuggestCmd) Run() error