m-mizutani/zenv

Support multiline value

Opened this issue · 0 comments

Support multiline value by surrounding " double quotation.

Expectation

$ cat .env
PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
MGICAQACEQC9c+U4kGhnplBRDX7qC6iHAgMBAAECEGTs9cLxYz07dyBxNq9b6AEC
CQD4PCQxylHEhwIJAMNhBxPh0/wBAghc9TigpKEmNQIILDwtlAzPKAECCQCJC7IU
trIONA==
-----END RSA PRIVATE KEY-----"
$ zenv list
PRIVATE_KEY=-----BEGIN RSA PRIVATE KEY-----
MGICAQACEQC9c+U4kGhnplBRDX7qC6iHAgMBAAECEGTs9cLxYz07dyBxNq9b6AEC
CQD4PCQxylHEhwIJAMNhBxPh0/wBAghc9TigpKEmNQIILDwtlAzPKAECCQCJC7IU
trIONA==
-----END RSA PRIVATE KEY-----