def info.creds

cswap-bend-cli@0.1.0.0 · collect.bend:102

import cswap-bend-cli@0.1.0.0/collect.bend as Collect
import Base
import cswap-bend-cli@0.1.0.0/store/io.bend as SIo
import cswap-bend-cli@0.1.0.0/act.bend as Act

102def info.creds(active: Bool, +live: String, +root: String, +slot: String, +email: String) -> Act.of(String):
103  match active:
104    case True{}:
105      Act.pure(String, live)
106    case False{}:
107      SIo.read_cred(root, slot, email)

Uses (5)

Used by (1)