Supplying entrypoint arguments

Is there away to do this?

if I do

docker run -e "DRONE_SERVER=xx" -e "DRONE_TOKEN=xx" drone/cli user ls

I can supply “user ls” to entrypoint.

How can I do this in a step?

I want

{
         "environment": {
            "DRONE_SERVER": "xx",
            "DRONE_TOKEN": "xx",
         },
         "image": "drone/cli",
         "name": "set",
         "arguments": ["user", "ls"]
      },

I think this should help

Specifically, you can pass args instead of arguments