The context for a command is created automatically, and is derived from the class Utils.Context. Custom context instance may be provided in the following manner:
def foo(ctx): pass import Utils def foo_context(Utils.Context): def __init__(self): print("a context for 'foo'")
Custom contexts may be provided for the functions configure and build.