Here is the request that was sent with CLI - request-1.json:
...
"args": ["foo", "", "", "--", "bar", ""],
...
I was not expecting those empty strings :crying_cat_face:.
The solution was to update the CLI tool with cargo install --git https://github.com/gevulotnetwork/gevulot.git gevulot-cli (from #bbe20d41 to #700d759a).
This PR should not go unnoticed, as it introduced important workaround for passing single value args.
My case study
I wanted to pass
foo -- bar
args, so I used the following tasks'cmd_args
when callinggevulot-cli exec
Here is the request that was sent with CLI - request-1.json:
I was not expecting those empty strings :crying_cat_face:.
The solution was to update the CLI tool with
cargo install --git https://github.com/gevulotnetwork/gevulot.git gevulot-cli
(from#bbe20d41
to#700d759a
).Request after update - request-2.json:
Now everything works as expected!