From 0408fc2f7dd6baa31673cb95f2cae9c609085796 Mon Sep 17 00:00:00 2001 From: tech Date: Thu, 21 May 2026 11:22:27 +0800 Subject: [PATCH] feat: scaffold autossh-mgr project structure --- pyproject.toml | 27 ++++++++++++++++++ src/autossh_mgr/__init__.py | 0 src/autossh_mgr/__main__.py | 4 +++ .../__pycache__/__init__.cpython-314.pyc | Bin 0 -> 181 bytes tests/__init__.py | 0 tests/integration/__init__.py | 0 tests/unit/__init__.py | 0 7 files changed, 31 insertions(+) create mode 100644 pyproject.toml create mode 100644 src/autossh_mgr/__init__.py create mode 100644 src/autossh_mgr/__main__.py create mode 100644 src/autossh_mgr/__pycache__/__init__.cpython-314.pyc create mode 100644 tests/__init__.py create mode 100644 tests/integration/__init__.py create mode 100644 tests/unit/__init__.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d14fca1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,27 @@ +[project] +name = "autossh-mgr" +version = "0.1.0" +description = "CLI tool to manage autossh reverse SSH tunnels" +requires-python = ">=3.11" +dependencies = [ + "click>=8.1", + "pyyaml>=6.0", +] + +[project.scripts] +autossh-mgr = "autossh_mgr.cli:cli" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/autossh_mgr"] + +[tool.pytest.ini_options] +testpaths = ["tests"] + +[dependency-groups] +dev = [ + "pytest>=9.0.3", +] diff --git a/src/autossh_mgr/__init__.py b/src/autossh_mgr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/autossh_mgr/__main__.py b/src/autossh_mgr/__main__.py new file mode 100644 index 0000000..41f0594 --- /dev/null +++ b/src/autossh_mgr/__main__.py @@ -0,0 +1,4 @@ +from autossh_mgr.cli import cli + +if __name__ == "__main__": + cli() diff --git a/src/autossh_mgr/__pycache__/__init__.cpython-314.pyc b/src/autossh_mgr/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..637eb61dfc6859a6884120a605d7690f542a3762 GIT binary patch literal 181 zcmdPq>P{wCAAftgHh(Vb_lhJP_LlF~@{~08CD@Z@IIJKx) zza%v|L%%$~D7&~IF*#K~&sZ18$w|@ANX$#A)Gf)+&nebVEG@||F3!-+O)t_fE=q>+ u<3arR_{_Y_lK6PNg34PQHo5sJr8%i~MXW$8K#nK|F+MRfGBOr116cr^1}-cB literal 0 HcmV?d00001 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py new file mode 100644 index 0000000..e69de29