def main(argv):
# Configure Parameters and Options
options = 'e:u:p:P:'
longOptions = ['endpoint=', 'user=', 'password=', 'pwdfile=']
# Get Options & Arguments
try:
opts, args = getopt.getopt(argv, options, longOptions)
# Read Module Arguments
moduleArgs = readModuleArgs(opts, args)
except getopt.GetoptError:
usage()
except Exception as e:
print('Unknown Exception please check log file')
logging.exception(e)
sys.exit(1)
return
# Main function to kick off processing
评论列表
文章目录