Ops.remove: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store/ops.bend as Ops Lines 249-257 of cswap-bend-cli@0.1.0.0/store/ops.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store/ops.bend&start_line=249&end_line=257 import Base import cswap-bend-cli@0.1.0.0/act.bend as Act import cswap-bend-cli@0.1.0.0/lock.bend as Lock import cswap-bend-cli@0.1.0.0/store/base.bend as SBase # Take an account out of rotation by slot number, alias or email. Its # credential is moved to credentials/.removed/--.enc # (0600), never deleted. The confirmation prompt belongs to the CLI. When the # account is the active one the answer starts with the reference's warning # line. Several accounts sharing an email are an error here (the reference # asks interactively). def remove(+ctx: SBase.Ctx, +ident: String) -> Act.of(String): do ActM: Lock.with_lock(String, SBase.lock_path(SBase.root_of(ctx)), 10000, remove2(SBase.root_of(ctx), ident)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/act.bend&name=of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/lock.bend&name=with_lock https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=Ctx https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=lock_path https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=root_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/ops.bend&name=ActM https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/ops.bend&name=remove2