UiPath / uipathcli

Command line interface to simplify, script and automate API calls for UiPath services (preview)
MIT License
61 stars 5 forks source link

Avoid escaping string values with equal sign in complex parameters #116

Closed thschmitt closed 1 month ago

thschmitt commented 1 month ago

All equal signs of an string assignment in complex parameters were required to be escaped, e.g.

--parts "id=hello\\=world"

Extended the type converter so that the part after an equal sign will always be treated as a simple value without splitting it in multiple parts. Assignments are always a key-value pair.

This allows the user to use values with equals signs, like base64 encoded strings without the need to escape, e.g.

--parts "id=hello=world"

This will set the id value to 'hello=world'.