coda-table
v1.2.1
Published
simple utility for getting and setting coda table data
Downloads
21
Readme
purpose
a simple utility to get coda tables in JSON format
how to install
npm install -g coda-table
or local install
# package.json
"scripts": {
"coda-table": "coda-table",
},
npm run coda-table --silent -- get <coda_doc_url> <table_name> --apiKey <your_coda_api_key>
cli
by default it will try to read CODA_API_TOKEN env variable
Usage: codaTable get [options]
Usage: codaTable get [options] <docUrl> <tableName>
Options:
-a, --apiKey [apiKey] api key, default will try to read CODA_API from env
-h, --help display help for command
Usage: codaTable write [options]
Options:
-a, --apiKey [apiKey] api key, default will try to read CODA_API from env
-k, --keyColumns [keyColumns] key columns, if provided will upsert data
-h, --help display help for command
eg.
node bin/codaTable write tmp/test.json https://coda.io/d/test-fixture_dg1RKjd2wjA/writeTest_sugIu\#_lus2t write -k Name,Action