plans: help command
This commit is contained in:
parent
b9f6237786
commit
371a5d8425
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,16 @@ with import <nixpkgs> {};
|
|||
|
||||
pkgs.writeShellScriptBin "plans" ''
|
||||
#!/bin/sh
|
||||
if [ "$1" = "help" ] ; then
|
||||
echo "plans (tudbut)"
|
||||
echo
|
||||
echo "- add <str> -- 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
|
||||
|
|
Loading…
Add table
Reference in a new issue