def found.listed
import ezx@1.11.0.0/src/lock/run.bend as Runimport Base
import ezx@1.11.0.0/src/lock/up.bend as Up
418def found.listed(ok: Bool, +text: String) -> IO(Up.Answer):
419 match ok:
420 case True{}:
421 found.all(nonempty(String.lines(text)))
422 case False{}:
423 IO.pure(Up.Answer, Up.Miss{"ez: could not list sources: " ++ String.trim(text)})