mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
3 lines
100 B
Text
3 lines
100 B
Text
|
def animals [] { ["cat", "dog", "eel" ] }
|
||
|
def my-command [animal: string@animals] { print $animal }
|