Fix usage headline

This commit is contained in:
jpk 2023-08-15 13:33:04 +02:00
parent 2985a23167
commit c39310f6fc
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,9 @@ def generate_usage_md(script: str, version: str):
cli = getattr(mod, cliobj)
with open("USAGE.md", "wt") as fd:
if "." in module_name:
module_name = module_name.split(".")[0]
print(
f"# {module_name.capitalize()} v{version} - {script_name} - Command Usage Overview", file=fd
)

View File

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "clickusagemd"
version = "0.8.4"
version = "0.8.5"
description = ""
authors = ["Jules <jules@deutschebahn.com>"]
packages = [