Commit Graph

13 Commits

Author SHA1 Message Date
Sandro Santilli
4399816485 Allow specifying api key via CDBSQL_APIKEY env variable 2013-07-17 10:29:19 +02:00
Sandro Santilli
5afdb66223 Fix handling of -v commandline switch 2013-07-02 16:40:18 +02:00
Sandro Santilli
f4b04b6cab Change defaults to username=dev and api_version=2 2013-07-01 12:23:35 +02:00
Sandro Santilli
476bd863b4 Add --skipfields switch to cdbsql 2013-05-29 12:35:24 +02:00
Sandro Santilli
7635254c82 Automatically use batch mode when input or output aren't a TTY
Do not use readline when in batch mode, add --echo-queries switch
and default to false
2012-11-23 17:18:39 +01:00
Sandro Santilli
fee948324a Use POST method to send queries (may be very long) 2012-10-04 12:04:50 +02:00
Sandro Santilli
2161eb1a15 Fix handling of --key switch 2012-10-04 12:04:50 +02:00
Sandro Santilli
f725cb4f59 Add prompt and batch mode 2012-10-04 12:04:50 +02:00
Sandro Santilli
8078bd55e7 Add support for reading queries from stdin
Only available with node-0.8+
2012-10-04 12:04:50 +02:00
Sandro Santilli
be2bc87bb6 Add --dp switch to specify decimal places for geojson output 2012-10-04 12:04:50 +02:00
Sandro Santilli
1200379940 Add --format switch, write response body without parsing it 2012-10-04 12:04:50 +02:00
Sandro Santilli
8815b9eb3d Fix --domain command line switch for cdbsql 2012-08-08 11:58:03 +02:00
Sandro Santilli
185aa3f834 Add command line tool for the CartoDB SQL API 2012-08-08 11:42:11 +02:00