Store.alias_err2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store.bend as Store Lines 65-69 of cswap-bend-cli@0.1.0.0/store.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store.bend&start_line=65&end_line=69 import Base import cswap-bend-cli@0.1.0.0/store/base.bend as SBase def alias_err2(+a: String, +name: String) -> String: SBase.sel.s(String.is_empty(a), "alias cannot be empty", SBase.sel.s(SBase.all_digits(a), "alias '" ++ name ++ "' cannot be purely numeric (reserved for slot numbers)", SBase.sel.s(String.starts_with(a, "-"), "alias '" ++ name ++ "' cannot start with '-' (would be read as a command flag)", SBase.sel.s(alias_chars(a), "", "alias '" ++ name ++ "' may only contain letters, digits, '-', '_', and '.'")))) Uses (7): 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.is_empty https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=all_digits https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=sel.s https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store.bend&name=alias_chars