logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hocon - manipulate HOCON files

Author

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.

hocon 1.2.5                                      September 2017                                         HOCON(1)

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]

See Also