From 0e24383d706a91bc9536b1c0827e4209679ce009 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 26 Mar 2023 11:24:31 +0200 Subject: install: some reafactoring --- lib/funcs.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/funcs.sh') diff --git a/lib/funcs.sh b/lib/funcs.sh index 585c4aa..66786a0 100644 --- a/lib/funcs.sh +++ b/lib/funcs.sh @@ -114,3 +114,17 @@ debug() { warning() { echo "[WARNING] $@" } + +print_help() { + cat << EOF +USAGE: $1 COMMAND [ARGS] +COMMANDS + install [CONFIG ...] + install configurations. if none are provided, + a selection menu is showm. + add PATH + Add PATH to managed configs + hook HOOK + manually call a hook +EOF +} -- cgit v1.2.3