hocon - manipulate HOCON files
Contents
Commands
getPATH
Returns the value at the given path
setPATHVALUE
Sets or adds the given value at the given path
unsetPATH
Removes the value at the given path
Description
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.
Examples
hocon-isettings.conf-onew_settings.confsetsome.nested.value42hocon-fsettings.confsetsome.nested.value42catsettings.conf|hocongetsome.nested.value
Name
hocon - manipulate HOCON files
Options
-i, --in-fileHOCON_FILE
HOCON file to read/modify. If omitted, STDIN assumed
-o, --out-fileHOCON_FILE
File to be written to. If omitted, STDOUT assumed
-f, --fileHOCON_FILE
File to read/write to. Equivalent to setting -i/-o to the same file
-j, --json
Output values from the 'get' subcommand in JSON format
-h, --help
Show usage help.
-v, --version
Show version.
See Also
The informal specification for HOCON is available at
https://github.com/typesafehub/config/blob/master/HOCON.md .
Synopsis
hocon [options] {get,set,unset}PATH [VALUE]
