From 201ba91e004b891c40beeec748dc416734201410 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 15 Sep 2024 00:03:48 +0200 Subject: [PATCH] rename --- spcd/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spcd/__init__.py b/spcd/__init__.py index e476484..13584c8 100644 --- a/spcd/__init__.py +++ b/spcd/__init__.py @@ -88,7 +88,7 @@ def list_environment_variables() -> None: log.info(f"{variable}") -def main(main: str) -> None: +def main(main_file: str) -> None: """Entry point to initialize environment or run a specific command.""" paths = environ["PATH"].split(pathsep) if env.SPCD_PYTHON_VENV_BINARIES not in paths: @@ -99,7 +99,7 @@ def main(main: str) -> None: list_environment_variables() clone_project_branch() set_ssh() - install_commands(main) + install_commands(main_file) install_python_packages() else: f = getattr(cmd, name.replace("-", "_"))