From 371a5d842556c78435b85850d3112724771eb998 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Wed, 30 Oct 2024 01:31:11 +0100 Subject: [PATCH] plans: help command --- plans.script.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plans.script.nix b/plans.script.nix index 7526103..a0a7122 100644 --- a/plans.script.nix +++ b/plans.script.nix @@ -2,6 +2,16 @@ with import {}; pkgs.writeShellScriptBin "plans" '' #!/bin/sh + if [ "$1" = "help" ] ; then + echo "plans (tudbut)" + echo + echo "- add -- add to end of list" + echo "- done -- remove from start of list" + echo "- edit -- edit manually using helix" + echo + echo "file used is ~/sync/plans.txt" + exit + fi if [ "$1" = "add" ] ; then echo "- $2" >> ~/sync/plans.txt fi