attempt to use separate folder for docs and meetings
This commit is contained in:
@@ -23,6 +23,9 @@ def main() -> int:
|
||||
parser.add_argument("source", help="Local drive-download root to index")
|
||||
parser.add_argument("--output", default="docs-output",
|
||||
help="Output directory for index.json + sidecars (default: docs-output)")
|
||||
parser.add_argument("--only", choices=["all", "docs", "meetings"], default="all",
|
||||
help="Scope the collection: 'docs' skips meetings (no bloat), "
|
||||
"'meetings' indexes only videos (co-locate with .meetus). Default: all")
|
||||
parser.add_argument("--render", action="store_true",
|
||||
help="Render page/slide images where supported (needs extra deps)")
|
||||
parser.add_argument("--ocr", action="store_true",
|
||||
@@ -41,6 +44,7 @@ def main() -> int:
|
||||
args.output,
|
||||
options={"render": args.render, "ocr": args.ocr},
|
||||
dry_run=args.dry_run,
|
||||
only=args.only,
|
||||
)
|
||||
except NotADirectoryError as e:
|
||||
print(f"ERROR: {e}", file=sys.stderr)
|
||||
|
||||
Reference in New Issue
Block a user