forked from sheetjs/docs.sheetjs.com
19 lines
470 B
Bash
Executable File
19 lines
470 B
Bash
Executable File
#!/bin/bash
|
|
# https://docs.sheetjs.com/docs/demos/cli/boxednode
|
|
cd /tmp
|
|
rm -rf sheetjs-boxednode
|
|
mkdir sheetjs-boxednode
|
|
cd sheetjs-boxednode
|
|
|
|
curl -o pres.numbers https://docs.sheetjs.com/pres.numbers
|
|
|
|
curl -o xlsx-cli.js https://docs.sheetjs.com/cli/xlsx-cli.js
|
|
|
|
npm i --save https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz exit-on-epipe commander@2
|
|
|
|
## NOTE: these steps are for darwin-x64
|
|
|
|
npx boxednode@2.4.3 -s xlsx-cli.js -t xlsx-cli
|
|
|
|
./xlsx-cli pres.numbers
|