compile

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Stdout = "stdout"

Variables

This section is empty.

Functions

func NewCmdCompile

func NewCmdCompile() *cobra.Command

Types

type Flags added in v0.9.0

type Flags struct {
	Output      string
	WorkDir     string
	Settings    []string
	Arguments   map[string]string
	Overrides   []string
	DisableNone bool
	OverrideAST bool
	NoStyle     bool
}

type Options added in v0.9.0

type Options struct {
	IsKclPkg  bool
	IsCheck   bool
	Filenames []string
	Flags
}

func NewCompileOptions

func NewCompileOptions() *Options

func (*Options) AddCompileFlags added in v0.9.0

func (o *Options) AddCompileFlags(cmd *cobra.Command)

func (*Options) Complete added in v0.9.0

func (o *Options) Complete(args []string) error

func (*Options) PreSet added in v0.9.0

func (o *Options) PreSet(preCheck func(cur string) bool) error

func (*Options) Run added in v0.9.0

func (o *Options) Run() error

func (*Options) Validate added in v0.9.0

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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