rename start -> run in controller.py

This commit is contained in:
Jonathan Wren 2023-01-14 14:32:37 -08:00
parent 1fb44b4bbd
commit 9bd83f2310
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ if TYPE_CHECKING:
from jrnl.journals import Entry
def start(args: "Namespace"):
def run(args: "Namespace"):
"""
Flow:
1. Run standalone command if it doesn't require config (help, version, etc), then exit

View file

@ -41,7 +41,7 @@ def run(manual_args: list[str] | None = None) -> int:
configure_logger(args.debug)
logging.debug("Parsed args:\n%s", args)
status_code = controller.start(args)
status_code = controller.run(args)
except JrnlException as e:
status_code = 1