CLI for standardizing a set of yaml documents into a canonical form suitable for comparison against another set
$ brew tap nestoca/canonyze
$ brew install canonyze
Download and install latest release for your platform from the GitHub releases page.
Make sure the binary is accessible via your $PATH
.
This approach requires that you replace both mentions of version number with your desired version in the following command:
$ go install -ldflags "-s -w" github.com/nestoca/canonyze/cmd/canonyze@v0.1.2