mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +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 }
|