1
0
mirror of https://github.com/nushell/nushell.git synced 2025-03-04 18:31:49 +01:00
nushell/tests/fixtures/completions/custom_completion.nu

3 lines
100 B
Plaintext

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