Seeding KV for usage with wrangler pages dev

I’m using the --kv option of the wrangler pages dev command in order to bind the pages server with KV namespaces. Those are initialized empty. How can I seed them?

Local dev cannot use remote resources, so this is local KV. You write the same way as usual, KV.put()

@Walshy I know. My question is: how can I seed those local namespaces when in development?