slashMenuForTest method

  1. @visibleForTesting
List<MenuItem> slashMenuForTest(
  1. String prefix
)

Test seam: builds the real slash-menu completion items for prefix (commands, templates, skills) without a TUI.

Implementation

@visibleForTesting
List<MenuItem> slashMenuForTest(String prefix) => _buildSlashMenu(prefix);