docs.sheetjs.com/tests/cli-denosea.sh

17 lines
395 B
Bash
Executable File

#!/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
deno run -r --allow-read https://docs.sheetjs.com/cli/sheet2csv.ts pres.numbers
deno compile -r --allow-read https://docs.sheetjs.com/cli/sheet2csv.ts
./sheet2csv pres.numbers