Cli.fish_list: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7027-7032 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7027&end_line=7032 import Base # Words quoted for fish, apart by spaces. def fish_list(words: List<&2, String>) -> String: match words: case Nil{}: "" case word <> Nil{}: Fish.quote(word) case word <> tail: String.concat([Fish.quote(word), " ", fish_list(tail)]) Uses (4): 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=Fish.quote