#!/usr/bin/env pluvo % 023-case.lu - Command Line Flags Author: Sean B. Palmer, inamidst.com # This is rudimentary. Flags current parse sys.argv instead of @argv, # and there's no checking of flagspec or anything like that. main = (argv) { if {--test} { say "Test failed" } or if {not --test} { say "Test passes" } --test { say "Test failed" } } script main