forked from sheetjs/docs.sheetjs.com
17 lines
395 B
Bash
17 lines
395 B
Bash
|
#!/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
|
||
|
|