Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx