@mantra-ai/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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -22,6 +22,22 @@ mantra papers # list papers
22
22
  mantra search "CRISPR" # full-text search
23
23
  ```
24
24
 
25
+ ### Batch ingestion
26
+
27
+ Pass multiple identifiers in a single command to ingest papers in bulk:
28
+
29
+ ```bash
30
+ mantra add 10.1038/s41586-024-07487-w 10.1126/science.adg7879 PMC9876543 arXiv:2301.07041
31
+ ```
32
+
33
+ You can also read identifiers from a file (one per line):
34
+
35
+ ```bash
36
+ mantra add --file dois.txt --delay 500
37
+ ```
38
+
39
+ The `--delay` flag sets a pause between requests (in ms) to avoid rate limits.
40
+
25
41
  ## Commands
26
42
 
27
43
  | Command | Description |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mantra-ai/cli",
3
- "version": "0.1.2",
4
- "description": "CLI for mantra reverse-engineer research papers into structured data",
3
+ "version": "0.1.3",
4
+ "description": "CLI for mantra - reverse-engineer research papers into structured data",
5
5
  "license": "MIT",
6
6
  "bin": {
7
7
  "mantra": "bin/mantra"
@@ -10,9 +10,9 @@
10
10
  "bin/mantra"
11
11
  ],
12
12
  "optionalDependencies": {
13
- "@mantra-ai/cli-darwin-arm64": "0.1.2",
14
- "@mantra-ai/cli-darwin-x64": "0.1.2",
15
- "@mantra-ai/cli-linux-x64": "0.1.2",
16
- "@mantra-ai/cli-linux-arm64": "0.1.2"
13
+ "@mantra-ai/cli-darwin-arm64": "0.1.3",
14
+ "@mantra-ai/cli-darwin-x64": "0.1.3",
15
+ "@mantra-ai/cli-linux-x64": "0.1.3",
16
+ "@mantra-ai/cli-linux-arm64": "0.1.3"
17
17
  }
18
18
  }