示例#1
0
def _add_run_random_fofn_options(p):
    add_log_debug_option(p)
    U.add_output_dir_option(p)
    p.add_argument('--nfofns',
                   type=int,
                   default=10,
                   help="Number of mock/random Fofns to write.")
    U.add_fofn_output(p)
    return p
示例#2
0
def get_parser():
    desc = "Transform pbreport Report to HTML file."
    p = get_default_argparser(__version__, desc)
    add_log_debug_option(p)
    U.add_output_dir_option(p)
    _add_report_option(p)
    _add_output_file_option(p)
    _add_ccs_js_extras_option(p)
    p.set_defaults(func=_args_to_render_report)
    return p
示例#3
0
def _add_run_options(p):
    _add_base_options(p)
    U.add_output_dir_option(p)
    _add_stdout_file(p)
    _add_stderr_file(p)
    return p
示例#4
0
def _add_run_random_fofn_options(p):
    add_log_debug_option(p)
    U.add_output_dir_option(p)
    p.add_argument('--nfofns', type=int, default=10, help="Number of mock/random Fofns to write.")
    U.add_fofn_output(p)
    return p
示例#5
0
def _add_run_options(p):
    _add_base_options(p)
    U.add_output_dir_option(p)
    _add_stdout_file(p)
    _add_stderr_file(p)
    return p