Ops.show: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend as Ops Lines 102-119 of near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend&start_line=102&end_line=119 import Base import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P def show(s: P.Step) -> String: match s: case P.Current{w}: "current " ++ w case P.Publish{n, v, _}: "publish " ++ n ++ "@" ++ v case P.Push{r}: "push github " ++ r case P.ReleasePlugin{+n, +v, r, create}: "release plugin " ++ n ++ "@" ++ v ++ " to marketplace github " ++ r ++ " as tag " ++ n ++ "-v" ++ v ++ Bool.pick(String, create, " (a new repository)", "") case P.Rebuild{h, _, _}: "rebuild nix-darwin " ++ h case P.ServePort{p, t, _}: "serve :" ++ U32.show(p) ++ " -> " ++ t case P.Change{w, now, want}: "change " ++ w ++ ": " ++ now ++ " -> " ++ want case P.Blocked{w, why}: "blocked " ++ w ++ ": " ++ why Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend&name=Step