Files
stack/docs/docs/cli/comments-extract.md

2.7 KiB

title, sidebar_position
title sidebar_position
stack comments extract 34

stack comments extract

Usage: stack comments extract [OPTIONS]                                        
                                                                                
 Walk comment dirs and write combined.md (PDF/DOCX → text).                     
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --root                       PATH     Comments root dir.                     │
│                                       [default: .state/comments]             │
│ --docket                     TEXT     Limit to one docket (e.g.              │
│                                       CMS-2023-0121).                        │
│ --limit                      INTEGER  Cap dirs processed this run. 0 = no    │
│                                       cap.                                   │
│                                       [default: 0]                           │
│ --workers                    INTEGER  Concurrent extraction threads.         │
│                                       [default: 8]                           │
│ --force                               Re-extract dirs that already have      │
│                                       combined.md.                           │
│ --bib         --no-bib                Look up inline body from bib.sqlite    │
│                                       items.abstract.                        │
│                                       [default: bib]                         │
│ --attach      --no-attach             Attach combined.md back to its bib     │
│                                       item (so it flows to Zotero via `bib   │
│                                       sync`). Implies --bib; no-op when      │
│                                       --no-bib.                              │
│                                       [default: attach]                      │
│ --reattach                            Also attach combined.md notes for dirs │
│                                       that were already current (repair).    │
│ --help                                Show this message and exit.            │
╰──────────────────────────────────────────────────────────────────────────────╯