6 Star 4 Fork 2

Mario_Q / jnitool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jnitool.py 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mario_Q 提交于 2014-12-12 11:06 . modify log level
# -*- coding: utf-8 -*-
import logging
from command import Command
from translate import Translate
if __name__ == "__main__" :
import sys
argList = sys.argv
logging.basicConfig(level=logging.INFO)
cm = Command()
import os.path
argList.pop(0)
logging.debug("========== arg list is " + ''.join(argList) + " ==========")
if cm.parse(argList):
logging.debug(cm.getClassPath())
logging.debug(cm.getFileName())
m = Translate()
m.setClassPath(cm.getClassPath())
m.setFileName(cm.getFileName())
m.setOutPath(cm.getOutPath())
m.translate()
else:
print u"命令输入错误"
Python
1
https://gitee.com/sweetdark/jnitool.git
git@gitee.com:sweetdark/jnitool.git
sweetdark
jnitool
jnitool
master

搜索帮助