sd
sd copied to clipboard
CLI is parsing flags passed to scripts
$ sd kube exec app rake -T db
Error: unknown shorthand flag: 'T' in -T
Usage:
sd kube exec app [flags]
Until we can parse the flags that each script (or, in Cobra parlance, command) has, by reading a special list of comments in the source file or similar trick, we can't delegate all flags to the script.
In the meantime, use -- to indicate you're done passing args to sd, like this:
$ sd kube exec app -- rake -T db