Cli.faulted: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7736-7741 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7736&end_line=7741 import Base def faulted(-A: Type, f: Fault, +cmd: Cmd, path: List<&2, String>, h: Host, argv: List<&2, String>) -> Step: match f: case Bug{msg}: Quit{70, "", String.concat(["bug: ", msg, "\n"])} case Usage{msg}: Quit{2, "", usage_err(term(cmd, h, argv), msg, view_of(cmd, path))} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.concat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Cmd https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Fault https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Host https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Step https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=term https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=usage_err https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=view_of