2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-19 16:44:46 +00:00
nushell/tests/fixtures/completions/custom_completion.nu

2 lines
100 B
Text

def animals [] { ["cat", "dog", "eel" ] }
def my-command [animal: string@animals] { print $animal }