def edit
import cswap-bend-cli@0.1.0.0/profcmd.bend as Profcmdimport Base
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
import cswap-bend-cli@0.1.0.0/fs.bend as Fs
import cswap-bend-cli@0.1.0.0/setcmd.bend as Setcmd
215def edit(+root: String, +plan: Plan2) -> IO(Cmd.Out):
216 IO.bind(Fs.Res(Cmd.Out), Cmd.Out, finish(root, plan), r => IO.pure(Cmd.Out, Setcmd.fin(r)))