Create a gist now

Instantly share code, notes, and snippets.

#!/bin/sh
#change checkout_dir to match where you’ve checked out the latest
checkout_dir=~/sys/geeknote
#change notebook to whatever notebook you use as your journal
notebook="blog"
echo "Please enter a title:"
read title
echo creating a note named $title in the $notebook notebook
python $checkout_dir/geeknote.py create --title "$title" --notebook $notebook --content "test"
python $checkout_dir/geeknote.py edit --note "$title" --notebook $notebook --content "WRITE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment