This is a card in Dave's Virtual Box of Cards.
'rat' the ratfactor website tool
Created: 2023-01-20See also:
So I’ve got this Perl script called rat
that does a lot of the page management and publishing for this site.
It has "sub commands" like a lot of modern CLI tools.
Here’s the help output when you run it with no sub-command:
Usage: rat edit <page_name> (lists partial matches) rat feed [<page_name> (lists partial matches)] opens atom.xml rat new <page_name> rat dirs (list all dirs under ratf/src/) rat grep (searches all .adoc files) rat lsd (list all drafts) rat pub rat card (open cards/ index)
This program is classic "the simplest thing that could possibly work" or utopian-software, as I like to call it.