def construct_cli_call(cli_target, params):
    cli_call = StringIO()
    cli_call.write(cli_target)
    params = OrderedDict(sorted(params.items(), key=(lambda t: t[0])))
    for param in params:
        cli_call.write(((((' -' + param) + ' "\'') + str(params[param])) + '\'"'))
    return cli_call.getvalue()
def construct_cli_call(cli_target, params):
    cli_call = StringIO()
    cli_call.write(cli_target)
    params = OrderedDict(sorted(params.items(), key=(lambda t: t[0])))
    for param in params:
        cli_call.write(((((' -' + param) + ' "\) + str(params[param])) + '\'"'))
    return cli_call.getvalue()