Exemple #1
0
def main():
    if int(os.environ.get('DEWI_CORE_DEV_WITH_PLUGINS', '0')) == 1:
        app = Application('dewi-review')
        app.load_plugin('dewi_core.commands.review.ReviewPlugin')
    else:
        app = Application('dewi-review', ReviewCommand)
    app.run()
Exemple #2
0
def main():
    if int(os.environ.get('DEWI_CORE_DEV_WITH_PLUGINS', '0')) == 1:
        app = Application('dewi-edit')
        app.load_plugin('dewi_core.commands.edit.edit.EditPlugin')
    else:
        app = Application('dewi-edit', EditCommand)
    app.run(sys.argv[1:])
Exemple #3
0
def main():
    app = Application('steven')
    app.load_plugin('steven.StevenPlugin')
    app.run(sys.argv[1:])

    if __name__ == '__main__':
        main()
Exemple #4
0
def main():
    app = Application('dewi-edit-or-review')
    app.load_plugin('dewi_core.commands.edit.edit.EditPlugin')
    app.load_plugin('dewi_core.commands.review.ReviewPlugin')
    app.load_plugin('dewi_core.commands.editreview.EditReviewPlugin')
    app.run()
Exemple #5
0
def main():
    app = Application('steven')
    app.load_plugin('steven.StevenPlugin')
    app.run(sys.argv[1:])