/
CONFIG Library

CONFIG Library

You can import this library useful for Configuration Management. See how to Import a Library.

This little library provides a simple way to grab a JSON file in another component and parse it.

You use it like this:

local C = CONFIGmain{name="Global",config="global.json"}

In this case, the component pulls the configuration file from the development repo of the component. If you look at the library you can see there is not much to it:

https://bitbucket.org/interfaceware/config/src/main/CONFIGmain.lua

Happy to discuss the topic of configuration management.

 

Related content

EC2 AWS CLI Adapter
EC2 AWS CLI Adapter
Read with this
Component Configuration Files
Component Configuration Files
More like this
Development
Read with this
Configuration Management
Configuration Management
More like this
Create a Library
Create a Library
Read with this
Custom Fields
More like this