def perform6

cswap-bend-cli@0.1.0.0 · swrun.bend:143

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/seq.bend as SSeq

143def perform6(+ctx: SBase.Ctx, +root: String, +target: String, +force: Bool, +pre: L.Pre, +ts: String, +seq_text: String, +seq: Json.Json, +temail: String, +l: L.Live, +tcreds: String, parsed: Result<&2, &2, String, Json.Json>) -> Act.of(Json.Json):
144  match parsed:
145    case Fail{e}:
146      Act.fail(Json.Json, 4, "Invalid backup config: " ++ e)
147    case Done{+tcfg}:
148      perform7(oauth_present(SSeq.get_or("oauthAccount", tcfg, Json.JNull{})), ctx, root, target, force, pre, ts, seq_text, seq, temail, l, tcreds, tcfg)

Uses (13)

Used by (1)