master/arkbot.py
Commiter: Jérémie Roquet
Author: Jérémie Roquet
Revision: 8a084e970b
File Size: 477 Bytes
(November 11, 2009 15:40 UTC) Over 2 years ago
* Arkbot - Initial commit of Arkbot
#! /bin/env python2.7
# -*- coding: utf-8 -*-
import optparse
import arkbot.configuration
import arkbot.instance
import arkbot.pool
def main():
parseOptions()
run()
def parseOptions():
parser = optparse.OptionParser()
parser.add_option('-n', '--no-instance', help='Do not start any instance')
# TODO other options
options, args = parser.parse_args()
def run():
arkbot.pool.Pool(
arkbot.instance.Instance('Arkbot', arkbot.configuration.Arkbot),
).run()
main() |