Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-03 00:13:53 +00:00
parent 66d77205df
commit 2e1b3b0570

25
tldr/archwiki-rs Normal file
View File

@@ -0,0 +1,25 @@
---
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}}`