A fast, helpful, and open-source document parser
fix:CLI --version
abhinab-choudhury20cf6f47dcdd
diff --git a/cli/parse.ts b/cli/parse.tsindex 22d6e99..c9fb803 100644--- a/cli/parse.ts+++ b/cli/parse.ts@@ -6,6 +6,7 @@ import path from "path";import { LiteParse } from "../src/core/parser.js";import { LiteParseConfig, OutputFormat } from "../src/core/types.js";import { performance } from "perf_hooks";+import pkg from '../package.json' with { type: "json" };const DEFAULT_MAX_PAGES = 10000;const DEFAULT_DPI = 150;@@ -69,7 +70,7 @@ const program = new Command();program.name("lit").description("OSS document parsing tool (supports PDF, DOCX, XLSX, images, and more)")- .version("0.1.0");+ .version(pkg.version);program.command("parse <file>")