Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" BuildDate = "unknown" )
Set via -ldflags at build time.
Functions ¶
func OutputDotenv ¶
OutputDotenv writes or updates a .env file at the given path.
func OutputJSON ¶
OutputJSON writes environment pairs as JSON to the given writer.
Types ¶
type EnvPair ¶
EnvPair represents a key-value pair for environment variable output.
func ResolveEnvPairs ¶
ResolveEnvPairs determines the environment variable pairs for the given CLI target. This is the legacy resolution path using hardcoded provider mappings. New code should use resolveEnvPairsWithConfig which reads from providers.yaml.
Click to show internal directories.
Click to hide internal directories.