def words

cswap-bend-cli@0.1.0.0 · exec.bend:213

import cswap-bend-cli@0.1.0.0/exec.bend as Exec
import Base

213# The words that are not options (and not the value of --format).
214def words(args: List<&2, String>, skip: Bool) -> List<&2, String>:
215  match args:
216    case Nil{}:
217      []
218    case Con{+h, t}:
219      words.step(skip, String.starts_with(h, "-"), h, words(t, String.eq(h, "--format")))

Uses (6)

Used by (2)