Knowledge bases
| Command | Purpose |
|---|---|
vatio kb [list] | List knowledge bases and references |
vatio kb show NAME | Inspect a base: its sites and its entries |
vatio kb create NAME / vatio kb rm NAME | Create or delete an unreferenced base |
vatio kb write BASE ENTRY [FILE] | Write an entry, from a file or stdin |
vatio kb cat BASE ENTRY | Print an entry's stored Markdown |
vatio kb rm-entry BASE ENTRY | Delete one entry |
vatio kb follow BASE URL | Read a site into the base, and again every night |
vatio kb unfollow BASE URL | Stop reading it, and drop the entries it wrote |
vatio kb refresh BASE [URL] | Read the sites again now |
vatio kb reindex BASE [NAME] | Re-crawl one source or all crawl sources |
write reads stdin when no file is given, which is what makes the edit loop one line:
bash
vatio kb cat docs refunds | edit | vatio kb write docs refundsshow is the one that answers "why is it not answering from this": it reports each site's status and errors, and which entries are ready to be searched.
Knowledge is shared by all environments, so writing, refreshing and deleting can change live answers immediately — and a deployment rollback does not restore content. See Knowledge bases.
