cli: fix local_latex_command option for render

This commit is contained in:
Sina Atalay 2024-03-29 20:04:14 +01:00
parent d0840f2da6
commit 7eb672d396
1 changed files with 2 additions and 2 deletions

View File

@ -426,7 +426,7 @@ def cli_command_render(
typer.Argument(help="Name of the YAML input file."), typer.Argument(help="Name of the YAML input file."),
], ],
local_latex_command: Annotated[ local_latex_command: Annotated[
str, Optional[str],
typer.Option( typer.Option(
"--use-local-latex-command", "--use-local-latex-command",
help=( help=(
@ -434,7 +434,7 @@ def cli_command_render(
" RenderCV's TinyTeX." " RenderCV's TinyTeX."
), ),
), ),
] = False, ] = None,
): ):
"""Generate a $\\LaTeX$ CV from a YAML input file. """Generate a $\\LaTeX$ CV from a YAML input file.