compile

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCompile

func NewCmdCompile() *cobra.Command

Types

type CompileFlags added in v0.6.2

type CompileFlags struct {
	Output      string
	WorkDir     string
	Settings    []string
	Arguments   []string
	Overrides   []string
	DisableNone bool
	OverrideAST bool
}

type CompileOptions

type CompileOptions struct {
	IsCheck   bool
	Filenames []string
	CompileFlags
}

func NewCompileOptions

func NewCompileOptions() *CompileOptions

func (*CompileOptions) AddCompileFlags added in v0.5.3

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

func (*CompileOptions) Complete

func (o *CompileOptions) Complete(args []string)

func (*CompileOptions) PreSet

func (o *CompileOptions) PreSet(preCheck func(cur string) bool)

func (*CompileOptions) Run

func (o *CompileOptions) Run() error

func (*CompileOptions) Validate

func (o *CompileOptions) Validate() error

Jump to

Keyboard shortcuts

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