def fin
import cswap-bend-cli@0.1.0.0/setcmd.bend as Setcmdimport Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
24# The text of a failed Act as the command's output (exit 1).
25def fin(r: Fs.Res(Cmd.Out)) -> Cmd.Out:
26 match r:
27 case Fail{e}:
28 Cmd.fail(err.msg(e))
29 case Done{o}:
30 o