Skip to content

feat: Add command line tool - #402

Merged
martin-majlis merged 5 commits into
masterfrom
2026-02-28-add-command-line-tool
Mar 1, 2026
Merged

martin-majlis merged 5 commits into
masterfrom
2026-02-28-add-command-line-tool

Conversation

@martin-majlis

@martin-majlis martin-majlis commented Feb 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a full-featured wikipedia-api CLI with commands for summaries, text, sections, links, backlinks, language links, categories, category members, and page metadata.
  • Document CLI usage and examples in new CLI documentation.
  • Package the CLI entry point and add Click as a dependency.
  • Add CLI integration test fixtures, a test runner script, and a GitHub Actions workflow to verify/record fixtures.

Tests

  • Not run (not requested).

Additional Notes

  • There is an untracked .dockerignore in the working tree; include or discard before merging if unintended.

Comment thread .github/workflows/cli-test.yml Fixed
Martin Majlis and others added 3 commits February 28, 2026 23:33
…ain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@martin-majlis
martin-majlis marked this pull request as ready for review March 1, 2026 09:20
@codecov

codecov Bot commented Mar 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 189 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.03%. Comparing base (84a17a3) to head (0883bc2).
⚠️ Report is 176 commits behind head on master.

Files with missing lines Patch % Lines
wikipediaapi/cli.py 0.00% 189 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #402       +/-   ##
===========================================
- Coverage   94.33%   66.03%   -28.30%     
===========================================
  Files           1        2        +1     
  Lines         441      630      +189     
===========================================
  Hits          416      416               
- Misses         25      214      +189     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@martin-majlis
martin-majlis merged commit 6055017 into master Mar 1, 2026
34 of 36 checks passed
@martin-majlis
martin-majlis deleted the 2026-02-28-add-command-line-tool branch March 1, 2026 09:25
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.

2 participants