Skip to content

Commit

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

Please sign in to comment.