watchtower config

View and manage CLI configuration

Usage

watchtower config [options]

Options

OptionDescription
--initCreate default config file if it doesn't exist
--set <key=value>Set a configuration value

Examples

# Show current configuration
watchtower config

# Initialize default config
watchtower config --init

# Set configuration values
watchtower config --set theme=light
watchtower config --set timestampFormat=absolute
watchtower config --set maxEvents=500
watchtower config --set defaultPython=/usr/bin/python3

Configuration Keys

KeyTypeValuesDefault
themestringdark, light, minimaldark
maxEventsnumberAny positive integer1000
timestampFormatstringrelative, absolute, unixrelative
defaultPythonstringPath to Pythonpython3

Config File

Configuration is stored in:

~/.watchtower/cli.yaml

Config File Format

# Theme: dark, light, or minimal
theme: dark

# Maximum events to display in show command
maxEvents: 1000

# Timestamp format: relative (+123ms), absolute (14:32:01.000), or unix
timestampFormat: relative

# Python executable for tail command
defaultPython: python3

Themes

Dark (Default)

Optimized for dark terminal backgrounds. Uses bright colors for visibility.

Light

Optimized for light terminal backgrounds. Uses darker colors for contrast.

Minimal

Reduced color palette for limited terminal support or accessibility.