Why are two options provided for running single and multiple commands

Doppler allows running of single comman as doppler run -- command wheras for multiple command it is like doppler run -C " ".
Why can’t we use the -C for single command also. What exactly is the benefit of first over second?

Hi @K-Kumar-01 and welcome to the Doppler community!

You definitely can use it for a single command and the reason why it’s handy is when using a secret value in the command itself, e.g. performing a curl request using Basic Authentication:

doppler run --command='curl -u $USER:$TOKEN https://example.com'```