Skip to content

bug: cbtop --attach flag silently ignored in TUI mode #526

@noahgift

Description

@noahgift

Bug

In crates/apr-cli/src/commands/cbtop_report_tui.rs, the run_tui() function (line 170) accepts _attach: Option<&str> but silently ignores it. The --attach flag is documented in cbtop.rs (apr cbtop --attach realizar) and stored in CbtopConfig, but the TUI never connects to the specified service.

Impact

Users running apr cbtop --attach realizar expect to attach to a running realizar process, but the flag is silently ignored.

Fix

Add warning that --attach is not yet implemented for TUI mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions