Compare commits

..

No commits in common. "4b359cbfc005eb066f8634424ee6b8de82c47aed" and "fd580f290f20358e0c20c239db28b16c884908b5" have entirely different histories.

3 changed files with 1 additions and 27 deletions

3
.gitignore vendored
View File

@ -176,5 +176,4 @@ pyrightconfig.json
# End of gignore: github.com/onyx-and-iris/gignore
man/*.1
test-*.py
test-*.py

View File

@ -1,20 +0,0 @@
"""script for generating man pages for the CLI."""
import typer
from click_man.core import write_man_pages
from obsws_cli import app
from obsws_cli.__about__ import __version__
def make_man():
"""Generate man pages for the CLI."""
cli = typer.main.get_command(app)
name = 'obsws-cli'
version = __version__
target_dir = './man'
write_man_pages(name, cli, version=version, target_dir=target_dir)
if __name__ == '__main__':
make_man()

View File

@ -27,7 +27,6 @@ dependencies = [
"pydantic-settings>=2.9.1",
]
[project.urls]
Documentation = "https://github.com/onyx-and-iris/obsws-cli#readme"
Issues = "https://github.com/onyx-and-iris/obsws-cli/issues"
@ -39,12 +38,8 @@ obsws-cli = "obsws_cli:app"
[tool.hatch.version]
path = "obsws_cli/__about__.py"
[tool.hatch.envs.default]
dependencies = ["click-man>=0.5.1"]
[tool.hatch.envs.default.scripts]
cli = "obsws-cli {args:}"
man = "python man/generate.py"
[tool.hatch.envs.hatch-test]
dependencies = ["pytest>=8.3.5"]