bq-rs

Crates.iobq-rs
lib.rsbq-rs
version
sourcesrc
created_at2023-11-24 20:04:09.94013
updated_at2024-12-06 03:51:04.211696
descriptionA CLI for querying BigQuery tables Project homepage: https://github.com/isaacadams/bq-rs
homepagehttps://github.com/isaacadams/bq-rs
repositoryhttps://github.com/isaacadams/bq-rs
max_upload_size
id1047567
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Isaac Adams (isaacadams)

documentation

README

bq-rs

a command line utility for interacting with bigquery

Commands

Authenticate w/ Service Account

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.

bq-rs --key <SERVICE-ACCOUNT-KEY-PATH> ...

e.g. bq-rs --key ./key.json ...

Query

Bigquery tables can be queried and its results returned as CSV by using the query subcommand.

bq-rs <...ARGS> query <QUERY>

e.g. bq-rs --key ./key.json query "SELECT * FROM <project-id>.<dataset-id>.<table-id>"

Commit count: 45

cargo fmt