/tbls-meta

tbls-meta is an external subcommand of tbls for applying metadata managed by tbls to the datasource.

Primary LanguageGoMIT LicenseMIT


tbls-meta

tbls-meta is an external subcommand of tbls for applying metadata managed by tbls to the datasource.

Usage

tbls-meta is provided as an external subcommand of tbls.

$ tbls meta plan -c /path/to/tbls.yml
$ tbls meta apply -c /path/to/tbls.yml

Install

deb:

$ export TBLS_META_VERSION=X.X.X
$ curl -o tbls-meta.deb -L https://github.com/k1LoW/tbls-meta/releases/download/v$TBLS_META_VERSION/tbls-meta_$TBLS_META_VERSION-1_amd64.deb
$ dpkg -i tbls-meta.deb

RPM:

$ export TBLS_META_VERSION=X.X.X
$ yum install https://github.com/k1LoW/tbls-meta/releases/download/v$TBLS_META_VERSION/tbls-meta_$TBLS_META_VERSION-1_amd64.rpm

homebrew tap:

$ brew install k1LoW/tap/tbls-meta

manually:

Download binary from releases page

go get:

$ go get github.com/k1LoW/tbls-meta

Requirements

Support Datasource

BigQuery:

Required permissions: bigquery.datasets.get bigquery.datasets.update bigquery.tables.get bigquery.tables.update bigquery.tables.list