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

Catmandu::Config - Configuration settings of Catmandu

Contents

Config

       Catmandu configuration options can be stored in files in the root directory of your programming project.
       The file can be YAML, JSON or Perl and is called "catmandu.yml", "catmandu.json" or "catmandu.pl". In
       this file you can set the default Catmandu stores and exporters to be used. Here is an example of a
       "catmandu.yml" file:

           store:
             default:
               package: ElasticSearch
               options:
                 index_name: myrepository

           exporter:
             default:
               package: YAML

   Splitconfig
       For large configs it's more convenient to split the config into several files.  You can do so by having
       multiple config files starting with catmandu*.

           catmandu.general.yml
           catmandu.db.yml
           ...

       Split config files are processed and merged by Config::Onion.

   Deeplynestedconfigstructures
       Config files can indicate a path under which their keys will be nested. This makes your configuration
       more readable by keeping indentation to a minimum.

       A config file containing

           _prefix:
               foo:
                   bar:
           baz: 1

       will be loaded as

           foo:
             bar:
               baz: 1

       See Config::Onion for more information on how this works.

perl v5.40.0                                       2025-01-17                              Catmandu::Config(3pm)

Name

       Catmandu::Config - Configuration settings of Catmandu

See Also