From 04af7ef182cc987d37692c9ac08a87ba0fcd8035 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 24 Jun 2024 15:34:38 +0200 Subject: [PATCH] cmd --- pidd/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pidd/__init__.py b/pidd/__init__.py index 16fff0b..a025f92 100644 --- a/pidd/__init__.py +++ b/pidd/__init__.py @@ -11,6 +11,7 @@ from rwx import fs from rwx.log import stream as log import pidd +from pidd import cmd from pidd.project import Project from pidd.projects import Projects @@ -60,7 +61,7 @@ def main(main: str) -> None: pidd.set_ssh(*arguments) pidd.install_commands(main) else: - function = getattr(pidd, name.replace("-", "_")) + function = getattr(cmd, name.replace("-", "_")) function(*arguments)