Cli.suggestion: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 2420-2439 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=2420&end_line=2439 import Base # the long spelling an unknown long option was likely meant to be, as clap's # "a similar argument exists"; None for every other error def suggestion(+app: Cli, ee: ParseErr) -> Maybe<&2, String>: match ee: case UnknownFlag{+at, +word}: sug.word(app, at, word) case Missing{_at, _name}: None{} case NoValue{_at, _name}: None{} case BadValue{_at, _name, _value}: None{} case NeedHelp{_path}: None{} case Unexpected{_at, _arg}: None{} case Repeated{_at, _name}: None{} case NeedVersion{}: None{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Cli https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=ParseErr https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=sug.word