Files
stack/docs/docs/cli/bib.md

4.7 KiB

title, sidebar_position
title sidebar_position
stack bib 11

stack bib

Usage: stack bib [OPTIONS] COMMAND [ARGS]...                                   
                                                                                
 Bibliography operations.                                                       
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ sync                   Apply col: tags as DuckDB column comments.            │
│ tag                    List or search bibliography tags.                     │
│ query                  Search the bibliography store.                        │
│ discover-pfs-rules     Walk the Federal Register API for every PFS rule      │
│                        since a date.                                         │
│ fetch-docket-comments  Walk one docket's comments from its stored watermark; │
│                        upsert as Source items.                               │
│ fetch-pfs-comments     Discover every PFS proposed rule since *since* and    │
│                        pull new comments                                     │
│                        on each docket from its stored watermark.             │
│ ingest-mail            Pull UNSEEN mail from a mailbox via IMAPS, upsert as  │
│                        bib Sources.                                          │
│ backfill-comments      Enrich every reg-gov comment stub with body +         │
│                        attachments.                                          │
│ ingest-iom             Crawl the CMS IOM index and upsert every chapter as a │
│                        Manual.                                               │
│ attach-iom             Download the PDF for every Manual and attach it to    │
│                        the record.                                           │
│ watch-iom              Poll the CMS futurepdf.pdf schedule; attach if        │
│                        changed.                                              │
│ import-zotero          Pull a Zotero collection's book items (with files)    │
│                        into bib.                                             │
│ sync-zotero            Push bib items (and their attachments) to the Zotero  │
│                        database.                                             │
│ ingest-oig             Crawl OIG Compliance Program Guidance + fraud alerts  │
│                        indexes.                                              │
│ attach-oig             Download and attach the PDF/HTML for every OIG        │
│                        guidance record.                                      │
│ refresh-oig            One-shot: ingest-oig → attach-oig → sync-zotero (OIG  │
│                        tag).                                                 │
│ refresh-iom            One-shot: ingest-iom → watch-iom → attach-iom →       │
│                        sync-zotero.                                          │
│ fr-grab                Grab federalregister.gov paragraph/page anchor maps   │
│                        into bib (#634).                                      │
│ fr-jump                Resolve an FR citation to its web jump link (#637);   │
│                        optionally place it.                                  │
│ cfr-jump               Bidirectional CFR cite ↔ eCFR URL (#640); optionally  │
│                        place the link.                                       │
│ code-tags              Stamp code:/family: item tags from chunk anchors and  │
│                        FR paragraphs.                                        │
╰──────────────────────────────────────────────────────────────────────────────╯