From 0d583c88778d662868a75a2328c3d1001771bd08 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 11 Feb 2024 19:34:56 +0100 Subject: [PATCH] update __init__ and __main__ --- rendercv/__init__.py | 4 ---- rendercv/__main__.py | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/rendercv/__init__.py b/rendercv/__init__.py index 457883c..d8becba 100644 --- a/rendercv/__init__.py +++ b/rendercv/__init__.py @@ -3,8 +3,4 @@ To be continued... """ -from rendercv.cli import render, new -from rendercv.data_models import generate_json_schema_file - __version__ = "1.0" -__all__ = ["render", "new", "generate_json_schema_file", "__version__"] diff --git a/rendercv/__main__.py b/rendercv/__main__.py index 846b14b..adf9093 100644 --- a/rendercv/__main__.py +++ b/rendercv/__main__.py @@ -4,7 +4,7 @@ invoked directly from the command line with `python -m rendercv`. That's why we here so that we can invoke the CLI from the command line with `python -m rendercv`. """ -from .cli import cli +from .cli import app if __name__ == "__main__": - cli() + app()