A command-line interface tool for interacting with MediaWiki-powered wikis.
get: Retrieve and display wiki page contentput: Edit or create wiki pagescrawl: Crawl wiki pages starting from a specific pageconfig: Configure API settings and credentials
# Install from PyPI
pip install pywikicli
# Or install with Poetry
poetry install
# Activate the Poetry environment (if using Poetry)
poetry shell# Configure your wiki connection
wikicli config
# Get a page
wikicli get "Main Page"
# Get a page and save as Markdown
wikicli get "Main Page" -o md
# Put content to a page
wikicli put "My Page" --content "This is my wiki page content"
# Edit a page from a Markdown file
wikicli put my_page.md
# Crawl pages starting from a specific page
wikicli crawl "Starting Page" --depth 2This project follows SOLID principles and uses a modular architecture for maintainability and extensibility.