Swbase.activate_config: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swbase.bend as Swbase Lines 102-105 of cswap-bend-cli@0.1.0.0/swbase.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swbase.bend&start_line=102&end_line=105 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/store/base.bend as SBase # The live config after activating a target: its oauthAccount, and primaryApiKey # either set (target is an API key) or dropped (target is OAuth). def activate_config(+cfg: Json.Json, +oauth: Json.Json, +target_creds: String) -> Json.Json: activate2(SBase.looks_like_api_key(target_creds), cfg, oauth, target_creds) Uses (4): 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/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=looks_like_api_key https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swbase.bend&name=activate2