示例#1
0
文件: util.py 项目: gvalkov/git-link
 def gitlink_lib(args):
     os.chdir(codir)
     out = StringIO()
     main(args.split(' '), out)
     return out.getvalue().rstrip()
示例#2
0
from gitlink.main import main
if __name__ == '__main__':
    main()
示例#3
0
文件: util.py 项目: svisser/git-link
 def gitlink_lib(args):
     os.chdir(codir)
     out = StringIO()
     main(args.split(' '), out)
     return out.getvalue().rstrip()