cmd

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 50 Imported by: 2

Documentation

Overview

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Package cmd contains the CLI commands for Zarf.

Index

Constants

This section is empty.

Variables

View Source
var (

	// LogLevelCLI holds the log level as input from a command
	LogLevelCLI string
	// LogFormat holds the log format as input from a command
	LogFormat string
	// SkipLogFile is a flag to skip logging to a file
	SkipLogFile bool
	// NoColor is a flag to disable colors in output
	NoColor bool
	// OutputWriter provides a default writer to Stdout for user-facing command output
	OutputWriter = os.Stdout
)

Functions

func Execute

func Execute(ctx context.Context)

Execute is the entrypoint for the CLI.

func SetupMessage added in v0.43.0

func SetupMessage(cfg MessageCfg) error

SetupMessage configures message while we migrate over to logger.

Types

type MessageCfg added in v0.43.0

type MessageCfg struct {
	Level       string
	SkipLogFile bool
	NoColor     bool
	// FeatureDisabled is a feature flag that disables it
	FeatureDisabled bool
}

MessageCfg is used to configure the Message package output options.

Directories

Path Synopsis
Package common handles command configuration across all commands
Package common handles command configuration across all commands
Package say prints out the adorable creature we all know and love.
Package say prints out the adorable creature we all know and love.
Package tools contains the CLI commands for Zarf.
Package tools contains the CLI commands for Zarf.
helm
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf

Jump to

Keyboard shortcuts

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