a command line utility for interacting with bigquery
All the commands require authentication via service account. The path to the service account key json file can be passed into bq-rs
via the --key
argument.
e.g. bq-rs --key ./key.json ...
Bigquery tables can be queried and its results returned as CSV by using the query
subcommand.
e.g. bq-rs --key ./key.json query "SELECT * FROM <project-id>.<dataset-id>.<table-id>"