I’d already raised this several months ago to be able to integrate in my CI/CD pipeline.
Not just suppress the prompts, but also have a command to publish the generated zip file so that there is no manual intervention involved in having to publish it.