tldr/pages/common/archwiki-rs.md

21 lines
620 B
Markdown
Raw Normal View History

2024-05-02 05:20:32 +01:00
# archwiki-rs
> Read, search and download pages from the ArchWiki.
> More information: <https://gitlab.com/lucifayr/archwiki-rs>.
- Read a page from the ArchWiki:
`archwiki-rs read-page {{page_title}}`
- Read a page from the ArchWiki in the specified format:
`archwiki-rs read-page {{page_title}} --format {{plain-text|markdown|html}}`
- Search the ArchWiki for pages containing the provided text:
`archwiki-rs search "{{search_text}}" --text-search`
- Download a local copy of all ArchWiki pages into a specific directory:
`archwiki-rs local-wiki {{/path/to/local_wiki}} --format {{plain-text|markdown|html}}`