cmd

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefinitionFileFlag = &cli.StringFlag{
		Name:        "definition-file",
		Usage:       "Name of the image definition file",
		Destination: &BuildArgs.DefinitionFile,
	}
	ConfigDirFlag = &cli.StringFlag{
		Name:        "config-dir",
		Usage:       "Full path to the image configuration directory",
		Value:       "/eib",
		Destination: &BuildArgs.ConfigDir,
	}
)

Functions

func LogError

func LogError(err *Error, checkLogMessage string)

func NewApp

func NewApp() *cli.App

func NewBuildCommand

func NewBuildCommand(action func(*cli.Context) error) *cli.Command

func NewValidateCommand

func NewValidateCommand(action func(*cli.Context) error) *cli.Command

Types

type BuildFlags

type BuildFlags struct {
	DefinitionFile string
	ConfigDir      string
	RootBuildDir   string
}
var BuildArgs BuildFlags

type Error

type Error struct {
	UserMessage string
	LogMessage  string
}

Jump to

Keyboard shortcuts

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