Skip to content

Instantly share code, notes, and snippets.

@tahnok tahnok/blog.sh
Created Oct 1, 2013

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.