Config Get

Usage

hs config get [-h]

[-x] [-r] SECTION[...].VAR [--system | --user | --local | --default]

Description

Get configuration option.

If source is not specified; e.g., --local, the output is the merged configuration from all sources. Use the config which command to see where a specific option originates from.

Output is pretty-printed using the configured console theme (default: monokai). Colorization is disabled for non-TTY invocations.


Arguments

SECTION[…].VAR

Path to variable (default is entire configuration).

Options

--system

Load from system configuration.

--user

Load from user configuration.

--local

Load from local configuration.

--default

Load from default configuration.

-x, --expand

Expand variable.

If the special _env or _eval variant of the option is present in the configuration, it will expand the environment variable or shell command, respectively.

-r, --raw

Disable formatting on single value output.