bqcat

command module
v0.0.0-...-f507687 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 9 Imported by: 0

README

bqcat

bqcat is Google BigQuery client for a command line.

query result writes to stdout in CSV. pipe friendly.

Installation

go get -u github.com/orisano/bqcat

Usage

$ bqcat --help
Usage of bqcat:
  -f string
        query file path
  -p string
        project id

How to use

give query from arguments
$ bqcat "SELECT 1;"
1
give query file path from arguments
$ bqcat -f test.sql
1
give query from stdin
$ echo "SELECT 1;" | bqcat
1

Author

Nao Yonashiro (@orisano)

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL