Cli.help.opt_width: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 1853-1859 of shake@0.7.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/cli.bend&start_line=1853&end_line=1859 import Base # the max option-label width def help.opt_width(args: List<&2, Arg>, nn: Nat) -> Nat: match args: case Nil{}: nn case Con{+h, t}: help.opt_width(t, help.max(nn, String.length(help.label(h)))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.length https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Arg https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.label https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.max