Config reference¶
Configuration for dda
itself is stored in a config.toml
file located by default in one of the following platform-specific directories:
Platform | Directory |
---|---|
macOS | ~/Library/Application Support/dd-agent-dev |
Windows | %USERPROFILE%\AppData\Local\dd-agent-dev |
Linux | $XDG_CONFIG_HOME/dd-agent-dev (the XDG_CONFIG_HOME environment variable defaults to ~/.config on Linux) |
You can select a custom path to the file using the --config
root option or by setting the ConfigEnvVars.CONFIG environment variable.
The file can be managed by the config
command group.
Root¶
RootConfig ¶
The root configuration for the application. This is available as the Application.config
property.
Environments¶
EnvConfig ¶
DevEnvConfig ¶
Git¶
GitUser ¶
GitHub¶
GitHubConfig ¶
GitHubAuth ¶
Organization¶
OrgConfig ¶
Storage¶
StorageDirs ¶
data ¶
This is the directory that is used to persist data. By default it is set to one of the following platform-specific directories:
Platform | Directory |
---|---|
macOS | ~/Library/Application Support/dd-agent-dev |
Windows | %USERPROFILE%\AppData\Local\dd-agent-dev |
Linux | $XDG_DATA_HOME/dd-agent-dev (the XDG_DATA_HOME environment variable defaults to ~/.local/share on Linux) |
You can select a custom path to the directory using the --data-dir
root option or by setting the ConfigEnvVars.DATA environment variable.
cache ¶
This is the directory that is used to cache data. By default it is set to one of the following platform-specific directories:
Platform | Directory |
---|---|
macOS | ~/Library/Caches/dd-agent-dev |
Windows | %USERPROFILE%\AppData\Local\dd-agent-dev\Cache |
Linux | $XDG_CACHE_HOME/dd-agent-dev (the XDG_CACHE_HOME environment variable defaults to ~/.cache on Linux) |
You can select a custom path to the directory using the --cache-dir
root option or by setting the ConfigEnvVars.CACHE environment variable.
join ¶
join(*parts: str) -> StorageDirs
Join the storage directories with the given parts.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parts | str | The parts to join. | () |
Returns:
Type | Description |
---|---|
StorageDirs | A new |
Terminal¶
TerminalConfig ¶
TerminalStyles ¶
Styling documentation: