Skip to content

Commit f34164f

Browse files
committed
docs: clarify OneDrive env vars, document export --src-out, remove trailing header
1 parent 881b800 commit f34164f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Inspired by the historical figure [Juan Hispalense (siglo XII)](https://es.wikip
4141
3. Set environment variables for OneDrive (if needed).
4242
- `ONEDRIVE_CLIENT_ID`
4343
- `ONEDRIVE_CLIENT_SECRET`
44+
- `ONEDRIVE_TENANT_ID` (use `consumers` for personal accounts)
4445
- `SRC_FOLDER` (OneDrive folder path)
4546
- `OUT_FOLDER` (local output path)
4647

@@ -50,6 +51,7 @@ Inspired by the historical figure [Juan Hispalense (siglo XII)](https://es.wikip
5051
- Required environment variables:
5152
- `ONEDRIVE_CLIENT_ID`
5253
- `ONEDRIVE_CLIENT_SECRET`
54+
- `ONEDRIVE_TENANT_ID` (e.g., `consumers`)
5355
- `SRC_FOLDER` (OneDrive folder path)
5456
- `OUT_FOLDER` (local output path)
5557
- Register an app and configure permissions by following Microsoft's official docs: [Register an application](https://learn.microsoft.com/en-us/graph/auth-register-app-v2).
@@ -62,8 +64,8 @@ Inspired by the historical figure [Juan Hispalense (siglo XII)](https://es.wikip
6264
| `avendehut watch` | Watches source folder for changes, auto‑rebuilds HTML. | Same as build plus `--interval <seconds>` |
6365
| `avendehut clean` | Deletes generated output and manifest. | `--out <path>` |
6466
| `avendehut open` | Opens generated HTML in default browser. | `--out <path>` |
65-
| `avendehut search` | CLI search in local index. | `--query "<text>"`, `--tags "<tag1,tag2>"` |
66-
| `avendehut export` | Exports catalog to CSV or JSON. | `--out <file>`, `--format csv|json` |
67+
| `avendehut search` | CLI search in local index. | `--query "<text>", `--tags "<tag1,tag2>"` |
68+
| `avendehut export` | Exports catalog to CSV or JSON. | `--src-out <dir>` (built catalog dir), `--out <file>`, `--format csv|json` |
6769

6870
### Usage
6971

@@ -114,6 +116,4 @@ poetry run avendehut export --src-out ./dist --format csv --out ./dist/catalog.c
114116

115117
### License
116118

117-
Apache 2.0 License.
118-
119-
# avendehut
119+
Apache 2.0 License.

0 commit comments

Comments
 (0)