bendyworks / idkfa

Simple credentials loading
https://github.com/bendyworks/idkfa
4 stars 3 forks source link

rake idkfa:examples #7

Open bendycode opened 11 years ago

bendycode commented 11 years ago

Rake task that makes maintaining #{DEFAULT_CREDENTIALS_PATH}.example super simple.

When run, it overwrites #{DEFAULT_CREDENTIALS_PATH}.example with the contents of DEFAULT_CREDENTIALS_PATH, except the values are all replaced with a placeholder.

Perhaps this should also add comments that point at github.com/bendyworks/idkfa, and how the user should maintain DEFAULT_CREDENTIALS_PATH.

listrophy commented 11 years ago

Perhaps in development, Idkfa simply keeps the example file updated automatically all the time. Every time it reads from config/idkfa.yml, it updates the example file if necessary.