compile

package
v0.8.1-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 11 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 CompileFlags

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

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