2.0a4 -> 2.0a5

Changed some filenames
Rewrote edit function to be more sane
Separated encryption and decryption functions from edit into libencryption.sh
Fixed a bug where an edit tag would be added regardless of create status
This commit is contained in:
Jon-William Lewis
2015-05-07 22:11:13 -05:00
parent 64e504ebcb
commit 3cb375f64b
22 changed files with 540 additions and 208 deletions

18
src/includes/help.sns.sh Normal file
View File

@@ -0,0 +1,18 @@
function help {
echo ""
echo "usage: sns [-ce] NAME NOTEBOOK SECTION"
echo " sns [-d ] NAME NOTEBOOK SECTION"
echo " sns [-lp] NOTEBOOK"
echo " sns [-w ]"
echo " sns [-h ]"
echo ""
echo " -c | --create : Create note"
echo " -d | --delete : Delete note"
echo " -e | --edit : Open note for editing"
echo " -h | --help : Display this message"
echo " -p | --print : Print note to console"
echo " -l | --list : List all notes in NOTEBOOK"
echo " -w | --wconf : Write default configuration to ~/.sns (useful for Encryption)"
echo ""
}