You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.describe('h','Display brief help information.\n')
16
-
.alias('f','file')
17
-
.describe('f','(required) Full path of input PDF file or a directory to scan for all PDF files. When specifying a PDF file name, it must end with .PDF, otherwise it would be treated as a input directory.\n')
18
-
.alias('o','output_dir')
19
-
.describe('o','(optional) Full path of output directory, must already exist. Current JSON file in the output folder will be replaced when file name is same.\n')
20
-
.alias('s','silent')
21
-
.describe('s','(optional) when specified, will only log errors, otherwise verbose.\n')
22
-
.alias('t','fieldTypes')
23
-
.describe('t','(optional) when specified, will generate .fields.json that includes fields ids and types.\n')
24
-
.alias('c','content')
25
-
.describe('c','(optional) when specified, will generate .content.txt that includes text content from PDF.\n')
26
-
.alias('m','merge')
27
-
.describe('m','(optional) when specified, will generate .merged.json that includes auto-merged broken text blocks from PDF (Experimental).\n')
28
-
.alias('r','stream')
29
-
.describe('r','(optional) when specified, will process and parse with buffer/object transform stream rather than file system (Experimental).\n');
.alias('h','help','Display brief help information.')
14
+
.alias('f','file','(required) Full path of input PDF file or a directory to scan for all PDF files.\n\t\t When specifying a PDF file name, it must end with .PDF, otherwise it would be treated as a input directory.')
15
+
.alias('o','output','(optional) Full path of output directory, must already exist.\n\t\t Current JSON file in the output folder will be replaced when file name is same.')
16
+
.alias('s','silent','(optional) when specified, will only log errors, otherwise verbose.')
17
+
.alias('t','fieldTypes','(optional) when specified, will generate .fields.json that includes fields ids and types.')
18
+
.alias('c','content','(optional) when specified, will generate .content.txt that includes text content from PDF.')
19
+
.alias('m','merge','(optional) when specified, will generate .merged.json that includes auto-merged broken text blocks from PDF.')
20
+
.alias('r','stream','(optional) when specified, will process and parse with buffer/object transform stream rather than file system.');
0 commit comments