function_map = {'convertFile': convertFile, 'conv': convertFile}
parser = argparse.ArgumentParser()
parser.add_argument('command', nargs=1)
parser.add_argument('fileName', nargs='+')
args = parser.parse_args()
function = function_map[args.command]
function(args.fileName)
execute python script with function from command line, Linux