mozilla / active-data-recipes

A repository of various activedata queries and recipes
Mozilla Public License 2.0
8 stars 24 forks source link

Add Configuration object #39

Closed TrangNguyenBC closed 5 years ago

TrangNguyenBC commented 5 years ago

Create a configuration object #30

TrangNguyenBC commented 5 years ago

Hi @ahal I made a Configuration class. And I also changed some methods with the idea is: after parsing data, all non-recipe/query args into config variable; additional args for recipe/query will go to remainder. I also disable debug if not query (maybe we need to modify after we define the way we do debug in recipes). The test files were changed accordingly. Please help me to have a look and tell me what should be changed. Thank you.