Cli.fish_flag: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7124-7127 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7124&end_line=7127 import Base def fish_flag(long: Bool, name: String) -> String: match long: case True{}: String.append("-l ", Fish.quote(String.drop(name, 2n))) case False{}: String.append("-s ", Fish.quote(String.drop(name, 1n))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.drop https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Fish.quote