def tool.flagged

ezx@1.11.0.0 · src/share/args.bend:117

import ezx@1.11.0.0/src/share/args.bend as Args
import Base

117# `tool run` with its `--entry <file>` and target, when it has the flag
118def tool.flagged(+file: String, +target: String) -> List<&2, String>:
119  Bool.pick(List<&2, String>, String.is_empty(target), ["tool", "run", "--entry", file],
120    ["tool", "run", "--entry", file, target])

Uses (4)

Used by (1)