Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

config

Show the current configuration.

Usage

adrs config [OPTIONS]

Options

OptionDescription
--ngUse NextGen mode
-C, --cwd <DIR>Working directory
-h, --helpPrint help

Description

Displays the current configuration, including where it was loaded from.

Examples

Basic Usage

adrs config

Output:

Project root: /home/user/myproject
Config source: adrs.toml
ADR directory: doc/adr
Full path: /home/user/myproject/doc/adr
Mode: Compatible

Without Initialization

adrs config

Output when no ADR repository is found:

Project root: /home/user/myproject
Config source: defaults
ADR directory: doc/adr
Full path: /home/user/myproject/doc/adr
Mode: Compatible

Config Sources

SourceDescription
adrs.tomlTOML configuration file
.adr-dirLegacy adr-tools configuration
global (~/.config/adrs/config.toml)User-wide configuration
environmentEnvironment variable override
defaultsBuilt-in defaults