Open daniel-reed opened 7 years ago
FYI, you can use environment variables transparently in gnorm.tom configuration values, so a ConnStr that has -p=$DB_PASSWORD will do the right thing.
However, I agree that being able to specify the connection string on the CLI is probably also good.
Thanks for the tip on the environment variables. I'll go that route for now. I'll probably have a pull request for the cli flag next weekend if you agree it has value.
definitely think the cli flag would be good, and would love a PR. Maybe -d and --database? unfortunately, -c is already taken. if you could add it to preview and gen, that would be great.
This would allow using db credentials without putting them in a config file.