about summary refs log tree commit diff stats
path: root/nu
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2024-03-19 10:53:59 -0400
committerelioat <hi@eli.li>2024-03-19 10:53:59 -0400
commitb7fdffc133f0e15274904eee2577f66699bea13b (patch)
treee61c3b57b5e1e41ac11e54e643efeae20cbd13ba /nu
parentaa208e440331a4b4ed5d7ca1af6a0962adec628e (diff)
downloadtour-b7fdffc133f0e15274904eee2577f66699bea13b.tar.gz
*
Diffstat (limited to 'nu')
-rw-r--r--nu/play.nu7
1 files changed, 7 insertions, 0 deletions
diff --git a/nu/play.nu b/nu/play.nu
new file mode 100644
index 0000000..174a491
--- /dev/null
+++ b/nu/play.nu
@@ -0,0 +1,7 @@
+# https://www.nushell.sh/book/scripts.html
+def greet [name] {
+  ["hello" $name]
+}
+
+greet "world"
+