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 0000000..637eb61 Binary files /dev/null and b/src/autossh_mgr/__pycache__/__init__.cpython-314.pyc differ 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