mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Clean up help screen, get rid of util.py (#1027)
* 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 * reorganize code, move around lots of functions * clean up import statements * move run function out of cli and into jrnl * rename confusingly named function * move editor function into editor file * rename parse_args.py to args.py to make room for more args functions * Fix error in test suite for windows I accidentally flipped the conditional, so this fixes it. Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com> * Update app description on help screen Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
75730aca93
commit
7da666f423
30 changed files with 981 additions and 775 deletions
|
@ -40,15 +40,13 @@ pyflakes = "^2.2.0"
|
|||
pytest = "^5.4.3"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
jrnl = 'jrnl.cli:run'
|
||||
jrnl = 'jrnl.cli:cli'
|
||||
|
||||
[tool.isort]
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = true
|
||||
force_grid_wrap = 0
|
||||
use_parentheses = true
|
||||
multi_line_output = 7
|
||||
force_single_line = true
|
||||
line_length = 88
|
||||
known_first_party = ["jrnl", "behave"]
|
||||
known_first_party = ["jrnl"]
|
||||
force_sort_within_sections = true
|
||||
|
||||
[build-system]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue