Jonathan Wren
d27abad4ff
rename parse_args.py to args.py to make room for more args functions
2020-08-16 13:14:34 -07:00
Jonathan Wren
9ccbcdcc7e
clean up import statements
2020-08-15 19:47:49 -07:00
Jonathan Wren
73a348b033
reorganize code, move around lots of functions
2020-08-15 18:43:54 -07:00
Jonathan Wren
38b78b1d1f
More refactoring of cli.py
...
break up code from cli.py (now in jrnl.py) up into smaller functions
get rid of export mode
move --encrypt and --decrypt to commands.py
clean up the help screen even more
update flag name for import
2020-08-08 15:06:20 -07:00
Jonathan Wren
a54ed90259
Move import to be standalone command to reduce clutter in cli.py
2020-08-01 15:54:13 -07:00
Jonathan Wren
626a18a6ec
Update more arg parsing options and handling
2020-08-01 15:54:13 -07:00
Jonathan Wren
fb184c5f5e
Move standalone commands into their own file
...
Also, cleaned up the way the arg parser handles standalone commands.
Rather than checking individually for each command, you can now register
the command in the proper place, and it will be run with all known
arguments (and cofig if available).
2020-08-01 15:54:13 -07:00
Jonathan Wren
5922ca41ee
Update arg parsing to better handle optinal journal name
...
Fixes #520 -and parameter seems to only work for the default journal
2020-08-01 15:54:13 -07:00
Jonathan Wren
2b2f24449f
update tests
2020-08-01 15:54:13 -07:00
Micah Jerome Ellison
8d702fee9d
Add unit testing via pytest ( #987 )
...
* Add pytest to project
Includes a couple sample tests, a note in CONTRIBUTING, and inclusion in the makefile
* Include pytest in Travis build
2020-06-20 14:30:15 -07:00
Manuel Ebert
13f8e668dc
Mock stdin
2013-07-19 12:44:39 +02:00
Manuel Ebert
dfa8278cb5
Experimental new directory structure
2012-05-24 13:23:46 +02:00