def args_paragraphs
import cli@0.2.0.0/cli.bend as Cliimport Base
5485# Whether a visible arg's help has more than one paragraph.
5486def args_paragraphs(items: List<&2, Item>) -> Bool:
5487 match items:
5488 case Nil{}: False{}
5489 case Arg{usage, help, attrs} <> tail:
5490 Bool.or(Bool.and(Bool.not(has_hidden(attrs)),
5491 String.contains(help, "\n\n")), args_paragraphs(tail))
5492 case head <> tail: args_paragraphs(tail)