Spaces:
Running
Running
Download apps/bot/src/export-cli.ts from Simzy/big-brain-ape-bot: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/Simzy/big-brain-ape-bot/resolve/main/apps/bot/src/export-cli.ts
- Command line
-
hf download hf://spaces/Simzy/big-brain-ape-bot/apps/bot/src/export-cli.ts
-
curl -L -o export-cli.ts https://huggingface.co/spaces/Simzy/big-brain-ape-bot/resolve/main/apps/bot/src/export-cli.ts
408 Bytes
| import { writeJournalExport } from "./team/export.js"; | |
| import { loadJournalRows } from "./team/journal.js"; | |
| import { exportDir } from "./team/paths.js"; | |
| const rows = loadJournalRows(); | |
| const written = writeJournalExport(rows, exportDir(), new Date()); | |
| console.log(`[bba] exported ${written.count} journal rows`); | |
| console.log(`[bba] csv ${written.csvPath}`); | |
| console.log(`[bba] jsonl ${written.jsonlPath}`); | |