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 bfc016d commit 9c5bbe0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pdfly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def extract_images(
readable=True,
resolve_path=True,
),
],
]
) -> None:
pdfly.extract_images.main(pdf)

Expand Down Expand Up @@ -170,7 +170,11 @@ def pagemeta(
show_default=True,
),
) -> None:
pdfly.pagemeta.main(pdf, page_index, output)
pdfly.pagemeta.main(
pdf,
page_index,
output,
)


@entry_point.command(name="extract-text") # type: ignore[misc]
Expand All @@ -185,7 +189,7 @@ def extract_text(
readable=True,
resolve_path=True,
),
],
]
) -> None:
"""Extract text from a PDF file."""
from pypdf import PdfReader
Expand Down

0 comments on commit 9c5bbe0

Please sign in to comment.