root

package
v0.0.0-...-2d90593 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const EXAMPLE = `
	$ azion
	$ azion -t azionb43a9554776zeg05b11cb1declkbabcc9la
	$ azion --debug
	$ azion -h
`

Variables

View Source
var (
	ErrorCurrentUser          = errors.New("Failed to get current user's information.")
	ErrorMarshalUserInfo      = errors.New("Failed to marshal current user information.")
	ErrorUnmarshalUserInfo    = errors.New("Failed to unmarshal current user information.")
	ErrorReadFileSettingsToml = errors.New("Provide the correct path of the configuration file. Make sure the file is in .toml format, access the document for more information https://www.azion.com/en/documentation/devtools/cli/globals/#config")
	ErrorPrefix               = errors.New("A configuration path is expected for your location, not a flag")
	ErrorParseTimeout         = errors.New("Failed to parse timeout flag")
)
View Source
var (
	RootUsage       = "azion <command> <subcommand> [flags]"
	RootDescription = "The Azion Command Line Interface is a unified tool to manage your Azion projects and resources"
	RootHelpFlag    = "Displays more information about the Azion CLI"
	RootDoNotUpdate = "Do not receive update notification"
	RootLogDebug    = "Displays log at a debug level"
	RootLogLevel    = "Set the logging level, \"debug\", \"info\", or \"error\"."
	RootFlagOut     = "Exports the output to the given <file_path/file_name.ext>"
	RootFlagFormat  = "Changes the output format passing the json value to the flag"
	RootFlagTimeout = "Defines how much time in seconds the CLI will wait before timing out from the HTTP connection"
	RootFlagNoColor = "Disables colored output, ensuring plain text format."
	RootLogSilent   = "Silences log completely; mostly used for automation purposes"
	RootTokenFlag   = "Saves a given Personal Token locally to authorize CLI commands"
	RootConfigFlag  = "Sets the Azion configuration folder for the current command only, without changing persistent settings."
	RootYesFlag     = "Answers all yes/no interactions automatically with yes"
	TokenSavedIn    = "Token saved in %s\n"
	TokenUsedIn     = "This token will be used by default with all commands"

	// update messages
	NotSupported      = "OS currently not supported"
	NewVersion        = "There is a new version of Azion CLI available\n"
	BrewUpdate        = "Please run: 'brew upgrade azion' to update it to v%s\n"
	ReleasePage       = "Please visit our Releases page and download the appropriate file\n"
	CouldNotGetUser   = "Sadly, we could not get information on your system to indicate the correct update form\n"
	DownloadRelease   = "Visit https://github.com/aziontech/azion/releases to download the correct package"
	RpmUpdate         = "Please run: 'sudo rpm -i <downloaded_file>' to update it to v%s\n"
	DpkgUpdate        = "Please run: 'sudo dpkg -i <downloaded_file>' to update it to v%s\n"
	PkgUpdate         = "Please run: 'sudo pkg install <downloaded_file>' to update it to v%s\n"
	ApkUpdate         = "Please run: 'sudo apk add <downloaded_file>' to update it to v%s\n"
	AskCollectMetrics = "To better understand user needs and enhance our application, we gather anonymous data. Do you agree to participate? (Y/n)"
	UnsupportedOS     = "Unsupported Operating System\n"
)

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