Variables containing whitespace characters should be quoted on env generation
Current Behavior
Variables containing whitespace characters are produced without quotes in the resulting env file after teller env. Also, variables coming from a dotenv provider that already have quotes have their quotes removed.
Possible Solution
Persist already quoted variable values in the dotenv provider + Scan for whitespaces and quote values for teller env output
Steps to Reproduce
Create a source dotenv .env.source file with a variable including whitespace: TEST="two words"
Create a .teller.yml file with dotenv provider that has
Expected Behavior
Variables containing whitespace characters should be quoted on
env
generationCurrent Behavior
Variables containing whitespace characters are produced without quotes in the resulting env file after
teller env
. Also, variables coming from a dotenv provider that already have quotes have their quotes removed.Possible Solution
Persist already quoted variable values in the dotenv provider + Scan for whitespaces and quote values for
teller env
outputSteps to Reproduce
teller env
Specifications