Commit graph

71 commits

Author SHA1 Message Date
Jonathon Scanes
065f98dda8 Printed message aborted on ctrl+c. 2014-06-27 14:01:16 +02:00
Chris Sexton
7d782261e0 Allow parallel edits
* Wait to open the journal until after getting text
* Use mktemp so that editors like vim get separate files for editing
2014-06-26 08:29:42 -04:00
Phil Tysoe
65e45701d9 Add export options to help message 2014-06-25 10:24:39 +01:00
Patrice Peterson
6f5b3f52f3 Allow use of environment variables in config paths
This patch simply adds several calls to `os.expandvars` to functions
that parse paths in the config file.
2014-06-23 16:12:41 +02:00
Manuel Ebert
e592e81f6f Split DayOne into separate file 2014-05-22 12:17:54 -07:00
Manuel Ebert
6da4e44e39 Warns if using --edit without editor
Closes #151
2014-04-16 13:14:16 -04:00
Manuel Ebert
36ce1fe3a8 Don't decode unicode 2014-03-28 14:40:58 -07:00
Manuel Ebert
14d249c3c9 Even more unicode fixes 2014-03-28 13:43:58 -07:00
Manuel Ebert
3ff1e43e03 More unicode fixes for #119 2014-03-27 16:12:03 -07:00
Josh Tan
bb3778a099 Simplified syntax for joining journal names with new lines. 2014-02-23 22:46:28 -06:00
Josh Tan
3450967eb3 Added ability to list accessible journals.
Previously, if a user forgot the exact name of a journal, they could check the configuration file to retrieve this information. This patch adds support for performing this task using the jrnl interface.

The newly added '-ls' option retrieves the available journals from the jrnl configuration files and displays each journal name on a separate line.

This patch also updates the jrnl help display and the usage documentation to reflect these changes.
2014-02-23 22:21:54 -06:00
Manuel Ebert
ff3c2ecdc3 Allows -3 as a shortcut for -n 3 2014-02-05 10:16:40 -08:00
Manuel Ebert
9cc37f964f Fix a logic bug so that jrnl -h and jrnl -v are possible even if jrnl not configured yet. 2014-01-26 14:15:46 +01:00
Manuel Ebert
46951cbe12 More unicode support 2014-01-23 15:14:20 +01:00
Manuel Ebert
d35502423a Cleaned up imports to work with Python2.6 and Python 3.3 2014-01-23 14:33:14 +01:00
Manuel Ebert
0e637d26d0 DayOne support for --edit 2013-12-21 15:00:26 +01:00
Manuel Ebert
ca6b16a5a1 Cleaner parsing 2013-12-21 14:59:24 +01:00
Manuel Ebert
4d8949bbed Get rid of --delete 2013-12-20 16:16:48 +01:00
Manuel Ebert
abe586d84e Deleting the last entry 2013-11-30 14:55:37 -08:00
Manuel Ebert
83702fab98 py2.6 2013-11-29 11:13:12 -08:00
Manuel Ebert
f22ddd706b jrnl.py:cli -> cli.py:run 2013-11-29 10:23:09 -08:00
Renamed from jrnl/jrnl.py (Browse further)