mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Restore __main__.py
functionality (#1278)
Allows you to access jrnl by running `python -m jrnl`
This commit is contained in:
parent
be1da17ab9
commit
4a9f01abb1
1 changed files with 10 additions and 0 deletions
10
jrnl/__main__.py
Normal file
10
jrnl/__main__.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# Copyright (C) 2012-2021 jrnl contributors
|
||||||
|
# License: https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
from .cli import cli
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
sys.exit(cli())
|
Loading…
Add table
Reference in a new issue