Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecEnv ¶
type ExecEnv struct {
// Env vars that confiure asdf and are required for its operation.
EnvVars map[string]string
// When set to true, env vars inherited from the parent process are cleared for maximum isolation.
ClearInheritedEnvs bool
// ShellInit is a shell command that initializes asdf in the shell session.
// This is required because classic asdf is written in bash and we can't assume that
// its init command is sourced in .bashrc or similar (and we don't want to modify
// anything system-wide).
ShellInit string
}
ExecEnv contains everything needed to run asdf commands in a specific environment that is installed and pre-configured.
Click to show internal directories.
Click to hide internal directories.