package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ConstantExpander expands constants defined in the project-file.
DefaultScriptLanguage returns the default script language for the current platform.
EventExpander expands events defined in the project-file.
ExpandFromProject searches for $category.name-style variables in the given string and substitutes them with their contents, derived from the given project, and subject to the given constraints (if any).
ExpandFromProjectBashifyPaths is like ExpandFromProject, but bashifies all instances of $script.name.path().
No description provided by the author
FromEnv will return the project as per the environment configuration (eg.
FromExactPath will return the project that's located at the given path without walking up the directory tree.
FromPath will return the project that's located at the given path (this will walk up the directory tree until it finds the project).
FromWD will return the project that's located at the current working directory.
IsRegistered returns true if an Expander Func is registered for a given handle/name.
NameSpaceForConfig returns a valid project namespace.
New creates a new Project struct.
No description provided by the author
NewLegacy is for legacy use-cases only, DO NOT USE.
NewMixin creates a Mixin object providing extra expansions.
No description provided by the author
NewSecretExpander returns a new instance of SecretExpander.
NewSecretPromptingExpander creates an Expander which can retrieve and decrypt stored user secrets.
NewSecretQuietExpander creates an Expander which can retrieve and decrypt stored user secrets.
NewSecretScope creates a new SecretScope from the given string name and will fail if the given string name does not match one of the available scopes.
Parse will parse the given projectfile and instantiate a Project struct with it.
ParseNamespace returns a valid project namespace.
No description provided by the author
ProjectExpander expands constants defined in the project-file.
RegisterConditional is a a temporary method for registering our conditional as a global yes this is bad, but at the time of implementation refactoring the project package to not be global is out of scope.
RegisteredExpander returns the expander registered for the given handle.
RegisterExpander registers an Expander Func for some given handler value.
ScriptExpander expands scripts defined in the project-file.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NamespaceRegex matches the org and project name in a namespace, eg.
ProjectCategory is the string used when referencing project secrets (eg.
ProjectRegex matches the project name for a namespace with omitted org.
SecretScopeProject defines a secret as being a Project secret.
SecretScopeUser defines a secret as being a user secret.
No description provided by the author
UserCategory is the string used when referencing user secrets (eg.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Constant covers the constant structure.
Event covers the hook structure.
No description provided by the author
Job covers the command structure.
Mixin provides expansions that are not sourced from a project file.
Namespaced represents a project namespace of the form <org/project>.
Project covers the platform structure.
Script covers the command structure.
Secret covers the secret structure.
SecretAccess is used to track secrets that were requested.
SecretExpander takes care of expanding secrets.

# Interfaces

No description provided by the author

# Type aliases

Build covers the build structure.
No description provided by the author
ExpanderFunc defines an Expander function which can expand the name for a category.
SecretFunc defines what our expander functions will be returning.
SecretScope defines the scope of a secret.