lang

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package lang contains the language strings in english used by maru

Index

Constants

View Source
const (
	ErrDownloading = "failed to download %s: %w"
	ErrCreatingDir = "failed to create directory %s: %s"
	ErrWritingFile = "failed to write file %s: %s"
	ErrFileExtract = "failed to extract filename %s from archive %s: %s"
)

Common Error Messages

View Source
const (
	RootCmdShort              = "CLI for the maru runner"
	RootCmdFlagSkipLogFile    = "Disable log file creation"
	RootCmdFlagLogLevel       = "Log level for the runner. Valid options are: error, warn, info, debug, trace"
	RootCmdFlagNoProgress     = "Disable fancy UI progress bars, spinners, logos, etc"
	RootCmdErrInvalidLogLevel = "Invalid log level. Valid options are: error, warn, info, debug, trace."
	RootCmdFlagArch           = "Architecture for the runner"
	RootCmdFlagTempDir        = "Specify the temporary directory to use for intermediate files"
)

Root

View Source
const (
	CmdVersionShort = "Shows the version of the running runner binary"
	CmdVersionLong  = "Displays the version of the runner release that the current binary was built from."
)

Version

View Source
const (
	CmdInternalShort             = "Internal cmds used by the runner"
	CmdInternalConfigSchemaShort = "Generates a JSON schema for the tasks.yaml configuration"
	CmdInternalConfigSchemaErr   = "Unable to generate the tasks.yaml schema"
)

Internal

View Source
const (
	CmdViperErrLoadingConfigFile = "failed to load config file: %s"
	CmdViperInfoUsingConfigFile  = "Using config file %s"
)

Viper

View Source
const (
	CmdRunShort       = "Runs a specified task from a task file"
	CmdRunFlag        = "Name and location of task file to run"
	CmdRunSetVarFlag  = "Set a runner variable from the command line (KEY=value)"
	CmdRunWithVarFlag = "Set the inputs for a task from the command line (KEY=value)"
	CmdRunList        = "List available tasks in a task file"
	CmdRunListAll     = "List all available tasks in a task file, including tasks from included files"
	CmdRunDryRun      = "Validate the task without actually running any commands"
)

Run

View Source
const (
	CmdAuthShort           = "[beta] Authentication commands for pulling private remote task files"
	CmdLoginShort          = "[beta] Adds a token for a given host to your keyring"
	CmdLoginTokenFlag      = "The personal access token (bearer) you would like to save"
	CmdLoginTokenStdInFlag = "Whether to pull the token from standard input"
	CmdLogoutShort         = "[beta] Removes a token for a given host from your keyring"
)

Auth

Variables

View Source
var (
	ErrInterrupt = errors.New("execution cancelled due to an interrupt")
)

Common Errors

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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