Skip to main content

hackagent.interfaces.tui.views.config

Config Tab

Manage HackAgent configuration settings.

ConfigTab Objects​

class ConfigTab(VerticalScroll)

Config tab for managing settings with vertical scrolling.

__init__​

def __init__(cli_config: CLIConfig)

Initialize config tab.

Arguments:

  • cli_config - CLI configuration object

compose​

def compose() -> ComposeResult

Compose the config layout.

on_mount​

def on_mount() -> None

Called when the tab is mounted.

on_button_pressed​

def on_button_pressed(event: Button.Pressed) -> None

Handle button press events.

refresh_data​

def refresh_data() -> None

Refresh config data.