Important
This project is now on its own org at (https://github.com/luna-hq/lunactl/).
Test cmdline for Luna.
Install via Homebrew:
$ brew install flowerinthenight/tap/lunactlSample usage:
# Setup access to GCS:
$ PAYLOAD=$(sh -c ./1-test-gcs-secret.sh); lunactl -x -p $PAYLOAD
# Load CSV files from GCS:
$ lunactl -x -p "$(cat 2-test-load-gcs-csv.txt)"
# Describe the created table:
$ lunactl -p 'DESCRIBE tmpcur;'
# Sample query:
$ lunactl -p 'SELECT uuid from tmpcur;'