cmd/mbf: print all available handles

Useful for scripting.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-08 15:30:27 +09:00
parent 472849cfd6
commit 6495118165
+4 -1
View File
@@ -21,7 +21,10 @@ func commandInfo(
r *rosa.Report,
) (err error) {
if len(args) == 0 {
return errors.New("info requires at least 1 argument")
for _, h := range rosa.Native().CollectAll() {
fmt.Println(h)
}
return nil
}
// recovered by HandleAccess