blob: e57e8b0dab9131ff53849efbe53a7c7df605f313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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]
}
|