build

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KclFile = "kcl.yaml"
)
View Source
const Stdout = "stdout"

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Output    string
	WorkDir   string
	Settings  []string
	Arguments map[string]string
	NoStyle   bool
	Backend   string
	Workspace string
}

type Options

type Options struct {
	KclPkg    *api.KclPackage
	Filenames []string
	Flags
}

func NewBuildOptions

func NewBuildOptions() *Options

func (*Options) AddBuildFlags

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

func (*Options) Complete

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

func (*Options) PreSet

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

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis
Package intent contains functions to build the Intent in operation commands.
Package intent contains functions to build the Intent in operation commands.
crd
kcl

Jump to

Keyboard shortcuts

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