args.bend checks
raw source on the hub · import element-hostio@0.1.0.0/args.bend as Args
1 import
import Base
Definitions
def after_marker source · line 9 · raw
@xs:List<&1, String> -> @seen:Bool -> List<&1, String>
A program's own arguments, the same on every Bend: what follows the first
"--args". Bend 2.0.32 began IO.args() with argv[0] (it had none), so a
list read by position means one thing on one release and another on the
next; a caller passes -- --args a b ... and reads from the marker.
Without the marker the answer is empty (an argument read by position is
never guessed).
def own source · line 20 · raw
@xs:List<&1, String> -> List<&1, String>