How to append custom completion to ConfD command redirection

You want to use the clispec, addPipeFlags, and pipeCmds.
I believe this post from 4 years ago is close enough for what you want to do: