aaronpriven / actium

Programs used for schedules and other information at AC Transit
Other
1 stars 1 forks source link

Configuration / options / environment should be refactored #16

Closed aaronpriven closed 7 years ago

aaronpriven commented 8 years ago

There is a frequent pattern in command-line programs where there is a configuration option which is overridden by an environment variable, if present, which is overridden by a command-line option, if present. This is a common pattern and should be factored out.

aaronpriven commented 7 years ago

Rewrote Actium::O::Cmd to allow this. Complete.