From 00a2fcbed6a7244f5fb58efb302f1ad969dc5958 Mon Sep 17 00:00:00 2001 From: aaronamm Date: Tue, 27 Sep 2016 13:07:30 +0700 Subject: [PATCH] Added geeknote.bat batch file for Windows user to use geeknote command line, and also added editonote.bat shorthand command for editing a note. --- editnote.bat | 6 ++++++ geeknote.bat | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 editnote.bat create mode 100644 geeknote.bat diff --git a/editnote.bat b/editnote.bat new file mode 100644 index 0000000..3473fdd --- /dev/null +++ b/editnote.bat @@ -0,0 +1,6 @@ +echo off +rem %1 for first param, %* mean "all" +set title=%* +echo title=%title% + +python build/lib/geeknote/geeknote.py edit --note %title% --content "WRITE" diff --git a/geeknote.bat b/geeknote.bat new file mode 100644 index 0000000..786c587 --- /dev/null +++ b/geeknote.bat @@ -0,0 +1,5 @@ +echo off +rem %1 for first param, %* mean "all" +set args=%* +echo args=%args% +python build/lib/geeknote/geeknote.py %args%