/tbls-build

tbls-build is an external subcommand of tbls for customizing config file of tbls using other tbls.yml or schema.json.

Primary LanguageGoMIT LicenseMIT


tbls-build

Build Status GitHub release

tbls-build is an external subcommand of tbls for customizing config file of tbls using other tbls.yml or schema.json.

Usage

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

$ tbls build -c tbls.yml \
--underlay default.yml \
--overlay override.yml \
--underlay original.json \
--overlay add.json \
--out customized-tbls.yml

Architecture

tbls build is a merge tool with a layered structure.

layer

Install

deb:

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

RPM:

$ export TBLS_BUILD_VERSION=X.X.X
$ yum install https://github.com/k1LoW/tbls-build/releases/download/v$TBLS_BUILD_VERSION/tbls-build_$TBLS_BUILD_VERSION-1_amd64.rpm

homebrew tap:

$ brew install k1LoW/tap/tbls-build

manually:

Download binary from releases page

go get:

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

Requirements