Cli.script: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7620-7625 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7620&end_line=7625 import Base # The completion script for shell s (ยง11). def script(c: Cmd, s: Shell) -> String: match c s: case Cmd{name, about, items} Bash{}: bash_script(name, items) case Cmd{name, about, items} Zsh{}: zsh_script(name, items) case Cmd{name, about, items} Fish{}: fish_script(name, items) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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=Shell https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=bash_script https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_script https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=zsh_script