def capture

cswap-bend-cli@0.1.0.0 · store.bend:153

import cswap-bend-cli@0.1.0.0/store.bend as Store
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/fs.bend as Fs
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

153def capture(+ctx: SBase.Ctx, +cfg: Json.Json) -> Act.of(String):
154  do ActM<String>:
155    ex : Bool <- Act.lift(Bool, Fs.exists(SBase.live_creds_path(ctx)))
156    capture2(ex, SBase.live_creds_path(ctx), cfg)

Uses (11)

Used by (1)