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 44f5ae3 commit bfc016d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 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,11 +170,7 @@ 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 @@ -189,7 +185,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 bfc016d

Please sign in to comment.