cli

package
v0.0.0-...-81e795f Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type Flag

type Flag struct {
	CodegenInputFile string
	SchemaInputDir   string
	OutputFileName   string
	Ignore           []string
}

func (*Flag) GetOutputPath

func (f *Flag) GetOutputPath() string

func (*Flag) ResolvePaths

func (f *Flag) ResolvePaths() error

type Workflow

type Workflow struct {
	*Flag
	// contains filtered or unexported fields
}

func NewWorkflow

func NewWorkflow(flag *Flag) *Workflow

func (*Workflow) Add

func (w *Workflow) Add() error

func (*Workflow) GetSchemaNames

func (w *Workflow) GetSchemaNames(schemaDir string) error

func (*Workflow) IsIgnore

func (w *Workflow) IsIgnore(name string) bool

func (*Workflow) Run

func (w *Workflow) Run() error

func (*Workflow) SchemaContains

func (w *Workflow) SchemaContains(name string) bool

Jump to

Keyboard shortcuts

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