thebarndog / swift-dotenv

Swift micro-package for loading .env environment files
MIT License
31 stars 7 forks source link

[Feature] - Add ProcessInfo to Environment #9

Closed thebarndog closed 2 years ago

thebarndog commented 3 years ago

Overview

The main source of environment variables in an iOS app is ProcessInfo and it's possible values will be loaded into the environment outside of the .env file. SwiftDotenv should fallback to use the system environmental values if the value isn't found in the environment object, as well as being able to determine precedence between which data source to query first.