about summary refs log tree commit diff stats
path: root/nu/play.nu
diff options
context:
space:
mode:
Diffstat (limited to 'nu/play.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"
+