Skip to content

Instantly share code, notes, and snippets.

@tahnok
Created October 1, 2013 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tahnok/6772263 to your computer and use it in GitHub Desktop.
Save tahnok/6772263 to your computer and use it in GitHub Desktop.
#!/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