<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_cli(cli_parser, run_sample, known_args=None):
 """Run sampling with CLI arguments. Parameters cli_parser : function Function to add method specific arguments to parser run_sample: function Method specific function that runs the sampling known_args: list [optional] Additional arguments to parse Returns argparse object """

    parser = create(cli_parser)
    args = parser.parse_args(known_args)

    run_sample(args)