Windows : How can I create views from the command line

I’m in the process of automating the installation of a Couchbase server from the command line.
I’ve already done the node-init/cluster-init/bucket-create parts with the help of couchbase-cli.exe.
Now I would like to create and/or update production views from the command line.

Is there a suitable tool for this or should I use the .NET API ?

Thanks in advance.

To create a view you just need to do an HTTP PUT, so whatever tool you’re most comfortable with should be fine. There are some curl based examples in the docs.

I ended up using the .NET API to create/update the design document.