merje
Supports the merge hash from any config files.
Description
Usage
Usage of merje:
-decode string
json/yaml/toml
-encode string
json/yaml/toml/template
-merge string
or/and/xor (default "or")
-out string
-version
dev
Example
Merge from examples/input-1.json examples/input-2.yml to examples/input-3.toml
$ merje --out examples/input-3.toml examples/input-1.json examples/input-2.yml
Install
To install, use go get
:
$ go get -d github.com/mijime/merje
or download: https://github.com/mijime/merje/releases/latest
Contribution
- Fork (https://github.com/mijime/merje/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request