summaryrefslogtreecommitdiff
path: root/motd/motd.go
diff options
context:
space:
mode:
Diffstat (limited to 'motd/motd.go')
-rw-r--r--motd/motd.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/motd/motd.go b/motd/motd.go
new file mode 100644
index 0000000..e57e8b0
--- /dev/null
+++ b/motd/motd.go
@@ -0,0 +1,16 @@
+package motd
+
+import "math/rand/v2"
+
+var Messages = []string{
+ "use the -a flag to invoke from anywhere",
+ "combine -a with -y to invoke from anywhere without confirming",
+ "`--env dev` will include .env, .env.dev, .env-dev, and dev.env",
+ "pik will start in a viewport if the terminal is too thin",
+ "instead of .pik you can use .tasks, or .bin, or any of these with _",
+}
+
+func One() string {
+ idx := rand.Int() % len(Messages)
+ return Messages[idx]
+}