For example, say I want to have a script that will ensure that all of my repositories have a secret set up in a certain way. I can’t just use
drone secret add, as that will fail if the secret already exists.
I can work around it by first deleting the secret, or falling back to
drone secret update, but that’s unnecessarily complicated. I imagine that the
add subcommand should have a flag like
--replace, which would get the job done.