artemis/main.py
author frostbane <frostbane@programmer.net>
Tue, 22 Nov 2016 11:18:59 +0900
branchfb_develop
changeset 86 10ea34bcd570
parent 82 b143f9dcfb8a
child 89 c844431600df
permissions -rw-r--r--
merge feature/find

#!/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