From 68041ce3ccd1b66fe5efca7a320ea65cfef52346 Mon Sep 17 00:00:00 2001 From: Micha Albert Date: Mon, 10 Mar 2025 14:57:36 -0400 Subject: [PATCH] fix help formatting and bump version --- pyproject.toml | 2 +- src/highlight_video_maker/main.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 254ba2c..2e99dab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "highlight_video_maker" -version = "0.0.1" +version = "0.0.2" authors = [{ name = "Micha Albert", email = "micha@2231.tech" }] description = "A utility to take several video inputs, take the loudest points, and create a compilation of them" readme = "README.md" diff --git a/src/highlight_video_maker/main.py b/src/highlight_video_maker/main.py index 5cd492c..a921e18 100644 --- a/src/highlight_video_maker/main.py +++ b/src/highlight_video_maker/main.py @@ -20,7 +20,7 @@ logger: Logger default="INFO", type=str, required=False, - metavar="Sets the logging verbosity. Choose between" + help="Sets the logging verbosity. Choose between" "DEBUG, INFO (default), WARNING, ERROR, or CRITICAL." "Can be uppercase or lowercase.", ) @@ -119,12 +119,12 @@ def get_amplitude_of_segment(clip: Path): @cli.command() @click.option( "--input-dir", - metavar="The input directory to get the source videos from.", + help="The input directory to get the source videos from.", type=click.Path(exists=True, resolve_path=True, path_type=Path), ) @click.option( "--watermark-image", - metavar="The path of the watermark image " + help="The path of the watermark image " "to overlay over the final output. " "It must exist. " "It will not be scaled, so it should be " @@ -133,14 +133,14 @@ def get_amplitude_of_segment(clip: Path): ) @click.option( "--horiz-output-file", - metavar="The path to output the final video to. " + help="The path to output the final video to. " "It should not exist and must either be an absolute path " 'or start with "./".', type=click.Path(exists=False, resolve_path=True, path_type=Path), ) @click.option( "--vert-output-file", - metavar="The path to output the final video to. " + help="The path to output the final video to. " "It should not exist and must either be an absolute path " 'or start with "./".', type=click.Path(exists=False, resolve_path=True, path_type=Path),