mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
3 lines
100 B
Plaintext
3 lines
100 B
Plaintext
|
def animals [] { ["cat", "dog", "eel" ] }
|
||
|
def my-command [animal: string@animals] { print $animal }
|