Ejemplo n.º 1
0
def test():
    # get the class
    from altar.shells import application
    # instantiate
    app = application(name="catmip")
    # and publish it
    return app
Ejemplo n.º 2
0
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# michael a.g. aïvázis <*****@*****.**>
#
# (c) 2013-2018 parasim inc
# (c) 2010-2018 california institute of technology
# all rights reserved
#

# bootstrap
if __name__ == "__main__":
    # get the class
    from altar.shells import application
    # instantiate
    app = application(name="catmip")

    # grab the journal
    import journal
    # silence the info channel off
    journal.info("altar").deactivate()

    # run it
    status = app.run()
    # and share the exit code
    raise SystemExit(status)

# end of file