steverusso/goclap

Add Environment Variable Support

Closed this issue · 1 comments

I like the idea of using comments to get program configuration, but I use environment variables instead of command line arguments. Can goclap support this, similar to env?

As a first iteration, support will follow what seems to be a loose standard of command line options taking priority over environment variables.

Future iterations of this feature might involve custom ordering or adhering to the order of the configurations.