@robin7331/papyrus-cli 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -14
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,13 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npx @robin7331/papyrus-cli --help
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Or install globally:
|
|
17
|
+
Install globally:
|
|
24
18
|
|
|
25
19
|
```bash
|
|
26
20
|
npm i -g @robin7331/papyrus-cli
|
|
@@ -48,7 +42,7 @@ setx OPENAI_API_KEY "your_api_key_here"
|
|
|
48
42
|
One-off execution:
|
|
49
43
|
|
|
50
44
|
```bash
|
|
51
|
-
OPENAI_API_KEY="your_api_key_here"
|
|
45
|
+
OPENAI_API_KEY="your_api_key_here" papyrus ./path/to/input.pdf
|
|
52
46
|
```
|
|
53
47
|
|
|
54
48
|
Security note: Papyrus intentionally does not provide an `--api-key` flag to avoid leaking keys via shell history or process lists.
|
|
@@ -103,12 +97,6 @@ Folder mode without confirmation prompt:
|
|
|
103
97
|
papyrus ./path/to/folder --yes
|
|
104
98
|
```
|
|
105
99
|
|
|
106
|
-
`npx` alternative for any command:
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
npx @robin7331/papyrus-cli ./path/to/input.pdf --mode auto
|
|
110
|
-
```
|
|
111
|
-
|
|
112
100
|
## Arguments Reference
|
|
113
101
|
|
|
114
102
|
### `<input>`
|
|
@@ -232,3 +220,7 @@ npm run build
|
|
|
232
220
|
npm run dev -- ./path/to/input.pdf
|
|
233
221
|
npm test
|
|
234
222
|
```
|
|
223
|
+
|
|
224
|
+
## License
|
|
225
|
+
|
|
226
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robin7331/papyrus-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Convert PDF to markdown or text with the OpenAI Agents SDK",
|
|
6
6
|
"repository": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/robin7331/papyrus-cli/issues"
|
|
12
12
|
},
|
|
13
|
+
"license": "MIT",
|
|
13
14
|
"keywords": [
|
|
14
15
|
"pdf",
|
|
15
16
|
"markdown",
|