Something went wrong while setting issue due date.
Using regex with and equal sign will break cli
When I want to use an regex with an equal sign in it, the command line tool will break. Example: Works:
cmt read network --get 'name__regex=some_regex'
[READ] Result:
{
"count": 0,
"next": null,
"previous": null,
"response": "200 - OK",
"results": []
}
Doesn't work
cmt read network --get 'name__regex=some=regex'
usage: cmt read [-h] --get GET [GET ...]
{telephonenumber,network,cluster,country,company,equipment,connection,role,address,interface,interfacetype,hardwaremodel,warrantytype,rack,warrantycontract,room}
cmt read: error: option must be specified as <select>=<value>. ie label=r2n1
Latest CMT client used. Not tested from within a template using the parse option.