callsFor method

List<List<String>> callsFor(
  1. String sub
)

All calls whose leading subcommand is sub. For 'create', this INCLUDES graph-apply pours (create --graph …) — use graphApplyCalls to isolate those from a plain single-bead create.

Implementation

List<List<String>> callsFor(String sub) =>
    calls.where((c) => c.isNotEmpty && c.first == sub).toList();