hcl-converter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

README

HAProxy

HAProxy HCL to YAML converter

Contributors License

This tool converts HAProxy Data Plane API configuration written in HCL format to YAML format.

Usage example

You can use this tool like following:

hcl-converter examlple.hcl example.yml

Full usage:

Usage:

hcl-converter <input-hcl-file> [output-yml-file]

Options:
	-h, --help Show this help
Output

On succesful conversion it will print out the following output

Input file: example.hcl
Output file: example.yaml
Contributing

For commit messages and general style please follow the haproxy project's CONTRIBUTING guide and use that where applicable.

Please use golangci-lint run from github.com/golangci/golangci-lint for linting code.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL