def perform3
cswap-bend-cli@0.1.0.0 · swrun.bend:159
import cswap-bend-cli@0.1.0.0/swrun.bend as Swrun
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/swlive.bend as L
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/store/io.bend as SIo
159def perform3(+ctx: SBase.Ctx, +root: String, +target: String, +force: Bool, +pre: L.Pre, +ts: String, +seq_text: String, +seq: Json.Json, +temail: String) -> Act.of(Json.Json):
160 do ActM<Json.Json>:
161 l : L.Live <- L.read_live(ctx)
162 +tcreds : String <- SIo.read_cred(root, target, temail)
163 need(SBase.nonempty(tcreds), "Account-" ++ target ++ " has no stored credentials. " ++ reinstruct(target))
164 perform3b(ctx, root, target, force, pre, ts, seq_text, seq, temail, l, tcreds)