From 269123679e7084d59c3c77d76751721295b3d402 Mon Sep 17 00:00:00 2001 From: Harsh <115716485+Kaos599@users.noreply.github.com> Date: Wed, 30 Oct 2024 21:13:01 +0530 Subject: [PATCH] Update cli.py --- pdfly/cli.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pdfly/cli.py b/pdfly/cli.py index 627c637..73b05a7 100644 --- a/pdfly/cli.py +++ b/pdfly/cli.py @@ -32,7 +32,9 @@ def version_callback(value: bool) -> None: entry_point = typer.Typer( add_completion=False, - help=("pdfly is a pure-python cli application for manipulating PDF files."), + help=( + "pdfly is a pure-python cli application for manipulating PDF files." + ), rich_markup_mode="rich", # Allows to pretty-print commands documentation ) @@ -97,7 +99,9 @@ def cat( fn_pgrgs: List[str] = typer.Argument( # noqa ..., help="filenames and/or page ranges" ), - verbose: bool = typer.Option(False, help="show page ranges as they are being read"), + verbose: bool = typer.Option( + False, help="show page ranges as they are being read" + ), ) -> None: pdfly.cat.main(filename, fn_pgrgs, output, verbose) @@ -119,7 +123,9 @@ def rm( fn_pgrgs: List[str] = typer.Argument( # noqa ..., help="filenames and/or page ranges" ), - verbose: bool = typer.Option(False, help="show page ranges as they are being read"), + verbose: bool = typer.Option( + False, help="show page ranges as they are being read" + ), ) -> None: pdfly.rm.main(filename, fn_pgrgs, output, verbose)