Skip to content

Add a console script for the existing CLI - #199

Open
Ychris12138 wants to merge 1 commit into
buriy:masterfrom
Ychris12138:feat/console-script
Open

Ychris12138 wants to merge 1 commit into
buriy:masterfrom
Ychris12138:feat/console-script

Conversation

@Ychris12138

Copy link
Copy Markdown

Fixes #198.

Add a readability-lxml console script that calls the existing CLI, so installations with pipx and invocations with uvx readability-lxml have an executable entry point. Register it in both Poetry and the legacy setuptools configuration, and document a local-file example.

Tests execute the installed command with --help and a local HTML file; both failed with a missing executable before the packaging change. The existing python -m readability entry point is also covered.

Validation: 64 tests passed; Flake8 passed; extraction benchmark F1 0.973 exceeds the 0.95 threshold; wheel and sdist built successfully and passed twine check. Verified that the wheel contains the console script entry. No browser or model API was used.

AI-assisted contribution using OpenAI Codex.

Copilot AI balanced review requested due to automatic review settings October 9, 2026 03:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide an actual cli command

2 participants