Created
October 1, 2013 00:22
-
-
Save tahnok/6772263 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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