test / test (push) Failing after 2s
release / validate (push) Successful in 2s
release / build (linux-amd64, linux-amd64) (push) Successful in 38s
release / build (macos-arm64, macos-arm64) (push) Successful in 45s
release / build (linux-arm64, linux-arm64) (push) Successful in 1m19s
release / release (push) Successful in 15s
Single-binary CLI that injects environment variables from an OpenBao server into the shell via eval "$(envbao)". - Strict permission policy for ~/.envbao (exits 78 if unsafe) - KV v1/v2 engine with auto-detection, pluggable engine registry - Safe quoting for bash/zsh/sh/fish, protected-variable denylist - Audit logging (stderr, private rotating file, syslog); no secrets logged - Gitea pipelines for tests and SemVer-tag releases - PyInstaller spec, docs, BSD-3-Clause licence Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[project]
|
|
name = "envbao"
|
|
dynamic = ["version"]
|
|
description = "Inject environment variables from an OpenBao server into your shell."
|
|
readme = "README.md"
|
|
license = "BSD-3-Clause"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.13"
|
|
dependencies = []
|
|
|
|
[project.scripts]
|
|
envbao = "envbao.cli:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"pytest-cov>=5",
|
|
"ruff>=0.6",
|
|
"mypy>=1.11",
|
|
"pyinstaller>=6.10",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/envbao/_version.py"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/envbao"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra --strict-markers"
|
|
|
|
[tool.coverage.run]
|
|
source = ["envbao"]
|
|
branch = true
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 90
|
|
show_missing = true
|
|
exclude_lines = ["pragma: no cover", "if __name__ == .__main__.:"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "S", "SIM"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/*" = ["S101", "S105", "S106"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
files = ["src/envbao"]
|