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

Reply::Config - config loading for Reply

Author

       Jesse Luehrs <doy@tozt.net>

Description

       This class abstracts out the config file loading, so that other applications can start up Reply shells
       using similar logic. Reply configuration is specified in an INI format - see Reply for more details.

Methods

new(%opts)
       Creates a new config object. Valid options are:

       file
           Configuration  file  to  use. If the file is specified by a relative path, it will be relative to the
           user's home directory, otherwise it will be used as-is.

   file
       Returns the absolute path to the config file that is to be used.

   data
       Returns the loaded configuration data.

Name

       Reply::Config - config loading for Reply

Synopsis

         use Reply;
         use Reply::Config;

         Reply->new(config => Reply::Config->new(file => 'something_else'))->run;

Version

       version 0.42

See Also