watchtower config
View and manage CLI configuration
Usage
watchtower config [options]
Options
| Option | Description |
|---|---|
| --init | Create 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
| Key | Type | Values | Default |
|---|---|---|---|
| theme | string | dark, light, minimal | dark |
| maxEvents | number | Any positive integer | 1000 |
| timestampFormat | string | relative, absolute, unix | relative |
| defaultPython | string | Path to Python | python3 |
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.