package
2.11.0
Repository: https://github.com/cli/go-gh.git
Documentation: pkg.go.dev

# Functions

Cache path precedence: XDG_CACHE_HOME, LocalAppData (windows only), HOME, legacy gh-cli-cache.
Config path precedence: GH_CONFIG_DIR, XDG_CONFIG_HOME, AppData (windows only), HOME.
Data path precedence: XDG_DATA_HOME, LocalAppData (windows only), HOME.
ReadFromString takes a yaml string and returns a Config.
State path precedence: XDG_STATE_HOME, LocalAppData (windows only), HOME.
Write gh configuration files to the local file system.

# Variables

Read gh configuration files from the local file system and returns a Config.

# Structs

Config is a in memory representation of the gh configuration files.
InvalidConfigFileError represents an error when trying to read a config file.
KeyNotFoundError represents an error when trying to find a config key that does not exist.