Repository navigation
Add a console script for the existing CLI - #199
Open
Ychris12138 wants to merge 1 commit into
Open
Ychris12138 wants to merge 1 commit into
Ychris12138 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #198.
Add a
readability-lxmlconsole script that calls the existing CLI, so installations with pipx and invocations withuvx readability-lxmlhave 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
--helpand a local HTML file; both failed with a missing executable before the packaging change. The existingpython -m readabilityentry 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.