constants

package
v0.4.40 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppName states the name of the application
	AppName string = "Stacks CLI"

	// Set the timestamp format for logging
	LoggingTimestamp = "Mon, 02 Jan 2006 15:04:05 -0700"

	// Set the prefix that needs to be used when setting the configuration
	// using environment variables
	EnvVarPrefix = "ensonostacks"

	// DefaultErrorMessage defines the default error message if one has not been set
	DefaultErrorMessage = "An error occurred in the application"

	// DefaultVersion sets a default version number if one is not set during the build
	// if this is seen when `stacks-cli -v` is run then it means it has been built
	// on a local machine
	DefaultVersion = "0.0.1-workstation"

	// SettingsFile is the default filename to be used when looking for the file in
	// a project that is to be used with stacks
	SettingsFile = "stackscli.yml"

	// GitHubRef is the org/name of the stacks-cli
	// This is used as on github api calls
	GitHubRef = "ensono/stacks-cli"

	// ConfigFileDir set the name of the directory in which configuration files would be saved
	// in at different locations
	ConfigFileDir = ".stackscli"

	// ConfigName is the name of the configuration file for the CLI itself
	// This is used when traversing the filesystem to find the configuration files
	ConfigName = "config"
)

Variables

This section is empty.

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
JackTT - Gopher 🇻🇳