cmd

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDiffDetected = &ExitError{Code: 2, Message: "diff statements detected"}

ErrDiffDetected is returned by generate when diff statements are generated.

Functions

func NewApplyCommand

func NewApplyCommand() *cobra.Command

func NewCheckCommand

func NewCheckCommand() *cobra.Command

func NewGenerateCommand

func NewGenerateCommand() *cobra.Command

func NewInitCommand

func NewInitCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type ExitError added in v0.12.0

type ExitError struct {
	Code    int
	Message string
}

ExitError is an error that carries a specific exit code.

func (*ExitError) Error added in v0.12.0

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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