fix help formatting and bump version

This commit is contained in:
Micha Albert 2025-03-10 14:57:36 -04:00
parent e18a23cd1a
commit 68041ce3cc
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
[project] [project]
name = "highlight_video_maker" name = "highlight_video_maker"
version = "0.0.1" version = "0.0.2"
authors = [{ name = "Micha Albert", email = "micha@2231.tech" }] 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" description = "A utility to take several video inputs, take the loudest points, and create a compilation of them"
readme = "README.md" readme = "README.md"

View file

@ -20,7 +20,7 @@ logger: Logger
default="INFO", default="INFO",
type=str, type=str,
required=False, required=False,
metavar="Sets the logging verbosity. Choose between" help="Sets the logging verbosity. Choose between"
"DEBUG, INFO (default), WARNING, ERROR, or CRITICAL." "DEBUG, INFO (default), WARNING, ERROR, or CRITICAL."
"Can be uppercase or lowercase.", "Can be uppercase or lowercase.",
) )
@ -119,12 +119,12 @@ def get_amplitude_of_segment(clip: Path):
@cli.command() @cli.command()
@click.option( @click.option(
"--input-dir", "--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), type=click.Path(exists=True, resolve_path=True, path_type=Path),
) )
@click.option( @click.option(
"--watermark-image", "--watermark-image",
metavar="The path of the watermark image " help="The path of the watermark image "
"to overlay over the final output. " "to overlay over the final output. "
"It must exist. " "It must exist. "
"It will not be scaled, so it should be " "It will not be scaled, so it should be "
@ -133,14 +133,14 @@ def get_amplitude_of_segment(clip: Path):
) )
@click.option( @click.option(
"--horiz-output-file", "--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 " "It should not exist and must either be an absolute path "
'or start with "./".', 'or start with "./".',
type=click.Path(exists=False, resolve_path=True, path_type=Path), type=click.Path(exists=False, resolve_path=True, path_type=Path),
) )
@click.option( @click.option(
"--vert-output-file", "--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 " "It should not exist and must either be an absolute path "
'or start with "./".', 'or start with "./".',
type=click.Path(exists=False, resolve_path=True, path_type=Path), type=click.Path(exists=False, resolve_path=True, path_type=Path),