Files
cheatsheet-tldr/tldr/archwiki-rs
2024-05-03 00:13:53 +00:00

26 lines
713 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`