Пример #1
0
def DoMake(command):
    """calls fh.MakeTemplate()"""
    global currentFolder
    try:
        command = command[1].split(' ')
        if (len(command) > 1):
            fh.MakeTemplate(command[0], currentFolder, extension=command[1])
        else:
            fh.MakeTemplate(command[0], currentFolder)
    except Exception as e:
        print(e)
Пример #2
0
def MakeTemplate(name = 'markdown'):
    global folder
    fh.MakeTemplate(name, folder)