Effects.devops: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend as Effects Lines 95-100 of near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend&start_line=95&end_line=100 import Base import bend-net-json@0.3.0.0/json.bend as Json import bend-kit-files@0.1.0.0/files.bend as Fs import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as X # Who az-devops is signed in as, or "" when it has no profile. def devops() -> IO(String): do IO: h : String <- X.home() text : String <- X.read(Fs.path.join(h, ".config/azure-plugin/profiles.json")) return string(at(at(value(Json.parse(text)), "devops"), "username")) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kit-files@0.3.1.0/files.bend&name=path.join https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=parse https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend&name=at https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend&name=string https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/effects.bend&name=value https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend&name=home https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend&name=read