HOCON(1) | User Commands | HOCON(1) |
hocon - manipulate HOCON files
hocon [options] {get,set,unset} PATH [VALUE]
The hocon(1) command can be used to get and set values on HOCON files. HOCON (Human-Optimized Config Object Notation) is a data format with the semantics of JSON, but more convenient as a human-editable config file format.
hocon -i settings.conf -o new_settings.conf set some.nested.value 42
hocon -f settings.conf set some.nested.value 42
cat settings.conf | hocon get some.nested.value
The informal specification for HOCON is available at https://github.com/typesafehub/config/blob/master/HOCON.md .
ruby-hocon was written by Chris Price, Wayne Warren, Preben Ingvaldsen, Joe Pinsonault, Kevin Corcoran and Jane Lu, based on the Typesafe Config Java library and distributed under the Apache License, Version 2.0.
The original Typesafe Config Java library was written by Typesafe Inc and distributed under the Apache License, 2.0.
This manpage was written by Apollon Oikonomopoulos <apoikos@debian.org> for the Debian project, but may be used by others.
September 2017 | hocon 1.2.5 |