Description
gh-enhance currently has no configuration file support — all options are passed via CLI flags or environment variables (ENHANCE_THEME). It would be great to support a YAML configuration file similar to how gh-dash does it (via ~/.config/gh-dash/config.yml).
Use Case
The primary motivation is key remapping. gh-dash already supports custom keybindings via its YAML config, and it would be natural for gh-enhance to offer the same capability.
Beyond keybindings, a config file could also support:
- Persistent theme selection (instead of requiring
ENHANCE_THEME env var every time)
- Default flags (e.g., always use
--flat)
Proposed Behavior
- Look for a config file at a standard location (e.g.,
~/.config/gh-enhance/config.yml)
- Support at minimum:
theme: set the default bubbletint theme
keybindings: remap keys, similar to gh-dash's keybinding configuration
- CLI flags should override config file values
Description
gh-enhancecurrently has no configuration file support — all options are passed via CLI flags or environment variables (ENHANCE_THEME). It would be great to support a YAML configuration file similar to howgh-dashdoes it (via~/.config/gh-dash/config.yml).Use Case
The primary motivation is key remapping.
gh-dashalready supports custom keybindings via its YAML config, and it would be natural forgh-enhanceto offer the same capability.Beyond keybindings, a config file could also support:
ENHANCE_THEMEenv var every time)--flat)Proposed Behavior
~/.config/gh-enhance/config.yml)theme: set the default bubbletint themekeybindings: remap keys, similar to gh-dash's keybinding configuration