update __init__ and __main__

This commit is contained in:
Sina Atalay 2024-02-11 19:34:56 +01:00
parent a43923857b
commit 0d583c8877
2 changed files with 2 additions and 6 deletions

View File

@ -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__"]

View File

@ -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()