-
1.0.1 Stable
released this
2023-07-11 18:38:45 +00:00 | 156 commits to master since this releaseChanged
- Refactored codebase to be more maintainable, readable & more optimized
Added
- ConfigurationLib will now attempt to load configuration files from Environment Variables if they are set, for example,
ifcom.example.application
wants to loadExampleConfiguration
it will first check ifCONFIGLIB_EXAMPLECONFIGURATION
is set, and if so, load that file instead of going through the default process of loading the default configuration file.
If the file is not found, it will resort to its default behavior. You can either load an original json configuration
file which is usually located at\var\ncc\data\net.nosial.configlib
as one of the .conf files, or you can load a yml
which is the same one you usually use to import or edit configurations. But the file extension must be either.yml
or.yaml
if you want ConfigLib to load it as a yml file, otherwise by default it assumes it is a json file.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads