Skip to content

Configuration

Configuration is stored in ~/.willhaben/.

Files

FileDescription
config.jsonSettings and authentication tokens
listings.jsonLocal listing cache

Settings

KeyValuesDefaultDescription
outputFormattext, jsontextDefault output format

Commands

View Configuration

bash
willhaben config get

Set a Value

bash
# Set default output to JSON
willhaben config set outputFormat json

# Set default output to text
willhaben config set outputFormat text

Reset to Defaults

bash
willhaben config reset

Show Config File Path

bash
willhaben config path
# Output: /Users/username/.willhaben/config.json

WARNING

The config file contains your authentication tokens. It's created with secure permissions and should not be shared.

Released under the MIT License. Not affiliated with willhaben.