<reponame>pymc-labs/plaster
"""
This is an example app main entrypoint used by the zests for zlog.

It further demonstrates the conventoinal start pattern of how a app
that uses zlog would instanciate the zlog wrapper.

Note the use of example_module is similarly an example of how
a module would use the log after it was instanciated after an app_start.
"""

import sys
from plaster.tools.zlog.zests import example_module


if __name__ == "__main__":
    from plaster.tools.zlog import zlog

    with zlog.app_start():
        getattr(example_module, sys.argv[1])()
