From 2e1b3b0570b109d4b6075bcd585394f23cc3ce23 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Fri, 3 May 2024 00:13:53 +0000 Subject: [PATCH] Update cheatsheets --- tldr/archwiki-rs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tldr/archwiki-rs diff --git a/tldr/archwiki-rs b/tldr/archwiki-rs new file mode 100644 index 00000000..1151ba9a --- /dev/null +++ b/tldr/archwiki-rs @@ -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: . + +- 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}}`