mikamai / akamai_api

Akamai gem+CLI to work with CCU and ECCU interfaces
MIT License
43 stars 19 forks source link

It was assuming that config file would always need to exist #15

Closed dfuentes77 closed 10 years ago

dfuentes77 commented 10 years ago

I made it an option along with command line params and env variables

dfuentes77 commented 10 years ago

I didn't notice this in my previous testing with env variables since I previously had the file in my home directory, ugh. This should make each way of doing it an option, not depend on any other, with order of precedence:

1) config file 2) env vars (overrides above) 3) command line params (overrides above)

dfuentes77 commented 10 years ago

Let me know when you can merge this in and upload. Thanks.

nicolaracco commented 10 years ago

Thank you. Yes I did notice the config file problem with your previous pull request and I planned to render the config file optional, but you were faster than me :) I'm releasing this just now.