2024-05-29 05:10:39 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# https://docs.sheetjs.com/docs/demos/cli/denosea
|
|
|
|
cd /tmp
|
|
|
|
rm -rf sheetjs-cli-deno
|
|
|
|
mkdir -p sheetjs-cli-deno
|
|
|
|
cd sheetjs-cli-deno
|
|
|
|
|
|
|
|
deno --version
|
|
|
|
|
|
|
|
curl -o pres.numbers https://docs.sheetjs.com/pres.numbers
|
|
|
|
|
2025-02-17 04:49:35 +00:00
|
|
|
## deno run -r --allow-read https://docs.sheetjs.com/cli/sheet2csv.ts pres.numbers
|
|
|
|
deno run -r --allow-read --allow-import https://docs.sheetjs.com/cli/sheet2csv.ts pres.numbers
|
|
|
|
|
|
|
|
## deno compile -r --allow-read https://docs.sheetjs.com/cli/sheet2csv.ts
|
|
|
|
deno compile -r --allow-read --allow-import https://docs.sheetjs.com/cli/sheet2csv.ts
|
2024-05-29 05:10:39 +00:00
|
|
|
|
|
|
|
./sheet2csv pres.numbers
|