feat: scaffold autossh-mgr project structure

This commit is contained in:
2026-05-21 11:22:27 +08:00
parent e6fc5db85a
commit 0408fc2f7d
7 changed files with 31 additions and 0 deletions

27
pyproject.toml Normal file
View File

@@ -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",
]

View File

View File

@@ -0,0 +1,4 @@
from autossh_mgr.cli import cli
if __name__ == "__main__":
cli()

Binary file not shown.

0
tests/__init__.py Normal file
View File

View File

0
tests/unit/__init__.py Normal file
View File