tree: 750bae4316ae50cc35cb2c80cfcf8594684611c0 [path history] [tgz]
  1. main.go
  2. README.md
cmd/round-trip-dumper/README.md

Round-Trip Dumper/Diagnostic Tool

This directory contains a simple tool that will load a plan JSON file, and then immediately dump it back out to stdout. It's helpful when troubleshooting large parsing errors, which should (hopefully) be rare.

go build ./ in this directory to build the binary. go run also works if you don't need the binary permanently.

Diffing

The -diff flag will automatically diff the result for you. colordiff is used if it's present, otherwise regular diff is used.