from kapow import Application
from kapow.handlers import docopt as dopt
from . import __version__
from . import commands

app = Application(
    name="{appname}",
    version="__version__",
    cli_handler=dopt.docopt_handler(commands.__doc__),
    config_handler=None,
    logging_config_handler=None,
    context_handler=None,
    command_finder=dopt.docopt_command_finder(commands),
)

main = app.main
