prettyconf icon indicating copy to clipboard operation
prettyconf copied to clipboard

Add a config.str cast that "eval" shell strings (e.g. strip double/single quote)

Open osantana opened this issue 3 years ago • 0 comments

Useful to make .env more "compatible" with a sourceable shell file. And avoid problems with things like silently fail on parsing this kind of URLs:

  • DATABASE_URL="postgresql://user:pass@host/db"

Optional (depending on security concerns):

  • User expand like ~ -> ${HOME} or ~user -> /home/user|/Users/user
  • Expand at least environment variables (how useful this feature could be?)

osantana avatar Aug 07 '20 21:08 osantana