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)