Feature: support load from `.env`
Similar to sqxl-cli: https://github.com/launchbadge/sqlx/tree/main/sqlx-cli#usage
@Folyd PGPASSWORD is the only environment variable supported. Are you looking for specifying PGPASSWORD in .env or are you looking for specifying all CLI options in .env?
I hope to support the DATABASE_URL env
The current design avoids DATABASE_URL as a single option because it makes escaping password really hard (imaging if it contains @)
So are you just looking for including database url related connection paramenters in .env?
Yes, like DATABASE_URL=postgres://postgres@localhost/my_database?option1=abc.
If password contains @, we can report error, or simply support all CLI options in env too.