artemis/main.py
author frostbane <frostbane@programmer.net>
Wed, 25 May 2016 09:16:17 +0900
branchfeature/find
changeset 84 f423f67d4560
parent 82 b143f9dcfb8a
child 89 c844431600df
permissions -rw-r--r--
add options to README

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from mercurial import hg, util, commands
from mercurial.i18n import _
import sys, os, time, random, mailbox, glob, socket, ConfigParser
import mimetypes
from email import encoders
from email.generator import Generator
from email.mime.audio import MIMEAudio
from email.mime.base import MIMEBase
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from itertools import izip
from artemis import Artemis
from list import ArtemisList
from add import ArtemisAdd
from show import ArtemisShow
from find import ArtemisFind

__author__ = 'frostbane'
__date__ = '2016/03/02'


cmdtable = {
    'ilist' : (ArtemisList().list,
               ArtemisList.commands,
               _(ArtemisList.usage)),
    'iadd'  : (ArtemisAdd().add,
               ArtemisAdd.commands,
               _(ArtemisAdd.usage)),
    'ishow' : (ArtemisShow().show,
               ArtemisShow.commands,
               _(ArtemisShow.usage)),
    'ifind' : (ArtemisFind().find,
              ArtemisFind.commands,
              _(ArtemisFind.usage)),
}

if __name__ == "__main__":
    pass