From 3ea90bf8ba59be79c961c2b6cb5ab66d84c5e2c6 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 1 Jun 2024 15:45:49 +0300 Subject: [PATCH] cli: add more shortnames and improve help --- rendercv/cli.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rendercv/cli.py b/rendercv/cli.py index b6b5024..3ab5d75 100644 --- a/rendercv/cli.py +++ b/rendercv/cli.py @@ -671,6 +671,14 @@ def cli_command_render( help="Don't generate the PNG file.", ), ] = False, + _: Annotated[ # This is a dummy argument for the help message. + Optional[str], + typer.Option( + "--YAMLLOCATION", + help="Overrides the value of YAMLLOCATION. For example," + ' [cyan bold]--cv.phone "123-456-7890"[/cyan bold].', + ), + ] = None, extra_data_model_override_argumets: typer.Context = None, ): """Generate a $\\LaTeX$ CV from a YAML input file.""" @@ -802,6 +810,7 @@ def cli_command_new( bool, typer.Option( "--dont-create-theme-source-files", + "-nolatex", help="Don't create theme source files.", ), ] = False, @@ -809,6 +818,7 @@ def cli_command_new( bool, typer.Option( "--dont-create-markdown-source-files", + "-nomd", help="Don't create the Markdown source files.", ), ] = False,