diff --git a/pdm.lock b/pdm.lock index 7bd4e05..44b99e1 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:30f6663cb544840596cc36f0f03c77232855eecbaf0625ff87ba1d2e68daa02a" +content_hash = "sha256:a27f943f7f5204047e0fe0e99b1080301877e231ec01cabee48c3a79473ca676" [[metadata.targets]] requires_python = "~=3.14" @@ -78,13 +78,27 @@ files = [ {file = "charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5"}, ] +[[package]] +name = "click" +version = "8.4.2" +requires_python = ">=3.10" +summary = "Composable command line interface toolkit" +groups = ["default"] +dependencies = [ + "colorama; platform_system == \"Windows\"", +] +files = [ + {file = "click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76"}, + {file = "click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6"}, +] + [[package]] name = "colorama" version = "0.4.6" requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" summary = "Cross-platform colored terminal text." -groups = ["dev"] -marker = "sys_platform == \"win32\"" +groups = ["default", "dev"] +marker = "sys_platform == \"win32\" or platform_system == \"Windows\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, diff --git a/pyproject.toml b/pyproject.toml index f959ee9..9b2186f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,12 +12,16 @@ dependencies = [ "platformdirs>=4.10.0", "tomlkit>=0.15.0", "sqlalchemy>=2.0.51", - "aiosqlite>=0.22.1" + "aiosqlite>=0.22.1", + "click>=8.4.2" ] requires-python = ">=3.14,<4" readme = "README.md" license = { text = "MIT" } +[project.scripts] +plyngent = "plyngent.cli:main" + [dependency-groups] dev = [ "basedpyright>=1.39.7",