commands

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrViolationsFound = errors.New("validation violations found")

ErrViolationsFound is returned when validation finds violations

Functions

func Execute

func Execute()

Execute runs the root command

func NewCheckCmd

func NewCheckCmd() *cobra.Command

NewCheckCmd creates the check command

func NewDeriveCmd added in v0.2.0

func NewDeriveCmd() *cobra.Command

NewDeriveCmd creates the derive command

func NewGenerateCmd

func NewGenerateCmd() *cobra.Command

NewGenerateCmd creates the generate command

func NewInitCmd

func NewInitCmd() *cobra.Command

NewInitCmd creates the init command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates the root command

func NewSchemaCmd added in v0.5.0

func NewSchemaCmd() *cobra.Command

NewSchemaCmd creates the schema command for JSON Schema generation

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd creates the version command

Types

type Config added in v0.3.0

type Config struct {
	SchemaFile   string
	OutputFormat string
}

Config holds CLI configuration options

func ConfigFromContext added in v0.3.0

func ConfigFromContext(ctx context.Context) *Config

ConfigFromContext retrieves Config from the command context

Jump to

Keyboard shortcuts

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