Skip to content
Snippets Groups Projects
Commit 14444548 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

add gso-run-cli

parent a769f9a7
No related branches found
No related tags found
1 merge request!207add gso-run-cli
Pipeline #86679 failed
This commit is part of merge request !207. Comments created here will be created in the context of that merge request.
"""The main module that runs :term:`GSO`."""
import os
from gso import init_cli_app, init_gso_app
app = init_gso_app()
def run_cli():
os.chdir(os.path.dirname(os.path.abspath(__file__)))
init_cli_app()
if __name__ == "__main__":
init_cli_app()
......@@ -20,4 +20,9 @@ setup(
"celery==5.3.6",
],
include_package_data=True,
entry_points={
"console_scripts": [
"gso-run-cli=gso.main:run_cli",
],
},
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment