def help.has_opt
import shake@0.7.0.0/src/cli.bend as Cliimport Base
2003# whether any Arg is not a positional
2004def help.has_opt(args: List<&2, Arg>) -> Bool:
2005 match args:
2006 case Nil{}:
2007 False{}
2008 case Con{+h, t}:
2009 help.has_opt.at(pos.is(h), help.has_opt(t))