From 19f68366eb4a2c01f801b29585fd0a36bdf47488 Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 29 Apr 2026 00:56:31 +0200 Subject: add more messages --- flags/flags.go | 2 +- motd/motd.go | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/flags/flags.go b/flags/flags.go index 9fb8d44..e74017d 100644 --- a/flags/flags.go +++ b/flags/flags.go @@ -24,5 +24,5 @@ var ( // List means we should output available targets separated by $IFS List = pflag.BoolP("list", "l", false, "list available targets and exit") // Inline means pik does not go to the terminal alt screen - Inline = pflag.BoolP("inline", "i", false, "do not use terminal alt screen") + Inline = pflag.BoolP("inline", "i", false, "if true, will force alt screen; if forced false, will disable alt screen") ) diff --git a/motd/motd.go b/motd/motd.go index e57e8b0..bb64606 100644 --- a/motd/motd.go +++ b/motd/motd.go @@ -8,6 +8,19 @@ var Messages = []string{ "`--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 _", + "include .pre. in a pik target filename to make it run as a prerequisite for other targets", + "a pik target filename with .post. will make it run after another targets completes successfully", + "you can always run a target after others by adding .final. to its name", + "you can 'invoke' a directory by having a target with the same name in it", + "if you're cool, use hjkl to browse me", + "left and right (h and l) can be used to scroll between sources", + "add .here. to a target filename to make it run in your shell working directory", + "the target's first line will be used as description, if it is a comment", + "create the .pik/.alias file to add additional names to the project for pik", + "put some utf-8 in .pik/.icon to add an icon to your pik-enabled project", + "create a target with the same base name but containing .override. to prefer it over the other during invocations", + "pik crawls both the regular and symlink evaluated locations, if they are different", + "unsure about what you're doing? use --dry to check what you're running", } func One() string { -- cgit v1.3.1