Documentation
¶
Overview ¶
Package cliutil provides generic CLI utilities such as directory discovery, permission checking, and bootstrap verification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsurePermissions ¶
EnsurePermissions changes the permissions of all earthbuild files to be owned by the user and their group.
func GetEarthDir ¶ added in v0.8.18
GetEarthDir returns the .earthly dir. (Usually ~/.earthly). This function will not attempt to create the directory if missing, for that functionality use to the GetOrCreateEarthDir function.
func GetOrCreateEarthDir ¶ added in v0.8.18
GetOrCreateEarthDir returns the .earthly dir. (Usually ~/.earthly). if the directory does not exist, it will attempt to create it.
func GetValidEnvNames ¶
GetValidEnvNames returns valid environment variable names for CLI configuration.
func IsBootstrapped ¶
IsBootstrapped provides a tentatively correct guess about the state of our bootstrapping.
Types ¶
This section is empty.