Exemplo n.º 1
0
def printProUsage(banner, currentApp, mpSession):
    print(colored(banner, 'green'))
    print(
        " Usage 1: echo  <parameters> | %s -t <TEMPLATE> -G <OUTPUT_FILE> [options] "
        % currentApp)
    print(" Usage 2: %s  -f input_file_path -G <OUTPUT_FILE> [options] " %
          currentApp)
    print(" Usage 3: more input_file_path | %s -G <OUTPUT_FILE> [options] " %
          currentApp)
    details = """
%s
%s

%s
%s

%s
%s

""" % (getGenerationFunction(currentApp), getGenerationFunctionPro(),
       getAvBypassFunction(currentApp), getAvBypassFunctionPro(),
       getOtherFunction(currentApp), getOtherFunctionPro())
    details += "    -h, --help   Displays help and exit \n"

    print(details)
Exemplo n.º 2
0
def printProUsage(banner, currentApp):
    print(colored(banner, 'green'))
    print(" Usage 1: echo  <parameters> | %s -t <TEMPLATE> -G <OUTPUT_FILE> [options] " %currentApp)
    print(" Usage 2: %s  -f input_file_path -G <OUTPUT_FILE> [options] " % currentApp)
    print(" Usage 3: more input_file_path | %s -G <OUTPUT_FILE> [options] " %currentApp)
    details = """
%s
%s

%s
%s

%s
%s

""" % (getGenerationFunction(), getGenerationFunctionPro(), getAvBypassFunction(), getAvBypassFunctionPro(), getOtherFunction(currentApp), getOtherFunctionPro())
    details +="    -h, --help   Displays help and exit \n"
    details += "\n Please send your support requests to [email protected] \n"

    print(details)