Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.34 KB

configuration.md

File metadata and controls

31 lines (21 loc) · 1.34 KB

Configuration options

elastic-agent-changelog-tool has configuration options available to change it's behaviour.

All settings are managed via the settings package, using spf13/viper.
Configurations are bound to environment variables with same name and ELASTIC_AGENT_CHANGELOG prefix using viper.BindEnv.

This CLI supports and adhere to cross platform XDG Standard provided by OpenPeeDeeP/xdg.

Settings key Default value Note
fragment_location $GIT_REPO_ROOT/changelog/fragments The location of changelog fragments used by the CLI. By default fragment_root + fragment_path.
fragment_path changelog/fragments The path in fragment_root where to locate changelog fragments.
fragment_root $GIT_REPO_ROOT The root folder for fragment_location.

Configuration file

Not supported yet.

Supported Environment Variables

elastic-agent-changelog-tool uses some environment variables that can be set.

Name Default Note
GIT_REPO_ROOT Git repository root folder This value is computed at each execution to retrieve the repository root folder.