diff --git a/pyproject.toml b/pyproject.toml index a50edf4..cab111c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ test = [ [project.scripts] config-man = "config_man.cli.main:main" +config-man-encrypt = "config_man.encrypt_config:main" [project.urls] Homepage = "https://github.com/config-man/config-man" diff --git a/encryptConfig.py b/src/config_man/encrypt_config.py similarity index 96% rename from encryptConfig.py rename to src/config_man/encrypt_config.py index b4a5c58..de69a06 100755 --- a/encryptConfig.py +++ b/src/config_man/encrypt_config.py @@ -13,9 +13,6 @@ from rich.console import Console from rich.panel import Panel from rich.syntax import Syntax -# Add the src directory to the path so we can import the crypto module -sys.path.insert(0, str(Path(__file__).parent / "src")) - from config_man.utils.crypto import encrypt # Initialize rich console