I am starting to use doit for a production CI project and I like it a lot. I will be building a library of doit tasks that can be used across different projects. For this I'd like to access some global configuration options from within a task (definition). One such example is to look at the current verbosity level and then tune the logging level accordingly. I know I can always add custom options, but using what's already there would be great.
Secondly, I have to configure my "doit-task-library" by setting a few paths, basically injecting some kind of (non-pythonic) dependencies. I can think of a few ways to do that, but just out of curiosity: could I use the config object in some way, by adding custom properties? If so, I would also need access to it from a task definition context.
I am just looking for the idiomatic way... :-)
Thanks a lot,
Mike