Skip to content

Feature request: Support YAML configuration file (similar to gh-dash) #27

Description

@michael-delphos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions