yaml2props

module
v0.0.0-...-b70ec53 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT

README

yaml2p

Simplistic converter between yaml and java properties files.

Installation

Download the latest binary from the github releases archive

from sources (GO)

go get github.com/mgurov/yaml2props/cmd/yaml2p
go install github.com/mgurov/yaml2props/cmd/yaml2p

Not supported

  • multiline string values
  • yaml collection of the type key: [val1, val2, val3]
  • scalars at a node with children, e.g. the following java property file won't be mapped to yaml:
level1.level2=blah
level1.level2.level3=fooe

Quirks

Original key order isn't preserved, alphabetical sorting is used for the consistency sake

Java code https://stackoverflow.com/questions/49207935/how-to-convert-yml-to-properties-with-a-gradle-task

Java/maven style https://github.com/redlab/yaml-props

Directories

Path Synopsis
cmd
yaml2p command

Jump to

Keyboard shortcuts

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