Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaos599 authored Oct 30, 2024
1 parent ba15e65 commit 2691236
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pdfly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 2691236

Please sign in to comment.