package
0.25.1
Repository: https://github.com/zaquestion/lab.git
Documentation: pkg.go.dev

# Functions

CI returns credentials suitable for use within GitLab CI or empty strings if none found.
ConvertHCLtoTOML converts an .hcl file to a .toml file.
GetToken returns a token string from the config file.
LoadConfig loads a config file specified by configpath and configname.
LoadMainConfig loads the main config file and returns a tuple of host, user, token, ca_file, skipVerify.
New prompts the user for the default config values to use with lab, and save them to the provided confpath (default: ~/.config/lab.hcl).
UserConfigError returns a default error message about authentication.
WriteConfigEntry writes a value specified by desc and value to the configfile specified by configpath and configname.

# Variables

MainConfig represents the loaded config.
default path of worktree lab.toml file.