Args.tool.flagged: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/args.bend as Args Lines 117-120 of ezx@1.11.0.0/src/share/args.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/args.bend&start_line=117&end_line=120 import Base # `tool run` with its `--entry ` and target, when it has the flag def tool.flagged(+file: String, +target: String) -> List<&2, String>: Bool.pick(List<&2, String>, String.is_empty(target), ["tool", "run", "--entry", file], ["tool", "run", "--entry", file, target]) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty