add rudimentary cli arg parsing (env style only)

Not sure if this of benefit to the main project, but I needed to satisfy a particular use case of accepting cli args in addition to env sources. There no clever option parsing here so env style only.