refmt:重新格式化HCL⇄JSON⇄YAML

时间:2021-02-04 06:33:19
【文件属性】:
文件名称:refmt:重新格式化HCL⇄JSON⇄YAML
文件大小:33KB
文件格式:ZIP
更新时间:2021-02-04 06:33:19
yaml json terraform hcl kubectl 反驳 重新格式化HCL⇄JSON和HCL⇄YAML。 安装 $ go get github.com/rjeczalik/refmt 用法 usage: refmt [-t type] INPUT_FILE|"-" OUTPUT_FILE|"-" Converts from one encoding to another. Supported formats (and their file extensions): - HCL (.hcl or .tf) - JSON (.json) - YAML (.yaml or .yml) If INPUT_FILE's extension is
【文件预览】:
refmt-master
----.dockerignore(18B)
----go.mod(498B)
----main.go(2KB)
----Gopkg.toml(787B)
----object()
--------merge.go(2KB)
--------fix.go(2KB)
--------LICENSE(33KB)
----Dockerfile(387B)
----.travis.yml(179B)
----LICENSE(34KB)
----Gopkg.lock(736B)
----README.md(5KB)
----appveyor.yml(491B)
----.gitignore(282B)
----format.go(7KB)

网友评论