Vars
Vars copied to clipboard
Option to define loader to use
It would be helpful to define which loader to use on the config file in the options, as not all config files will have an extension.
For example, I don't added extensions to my ini files but would still like to load them using a standard library like Vars.
This may only be possible when a single config is loaded or that all configs being loaded will have to be of the same type.
Happy to do this but what's the use case for this? Can't you just add a file extension?
I am writing a cli script and would like to get the distro version using /etc/os-release file.
Okay I see, I'll see about doing this, it will be probably be a toggle in the options; something along the lines of default_parser
Can send a pull request if you want :ok_hand: :+1: