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("-", "_"))