flyctl postgres create error: not running interactively

I’m following the docs to create a postgres app via flyctl on Windows.

$ flyctl postgres create
Error name argument or flag must be specified when not running interactively

Even I tried to assign the parameters manually, I didn’t know which of them are required.

$ flyctl postgres create -n test -r hkg
automatically selected personal organization: *****
For pricing information visit: https://fly.io/docs/about/pricing/#postgresql-clustersError prompt: non interactive

My flyctl version:

$ flyctl version
flyctl.exe v0.0.390 windows/amd64 Commit: 94fec092 BuildDate: 2022-09-13T02:34:24Z

Did you find the solution of this problem? I have the same trouble and I can’t understand how to create it in non interactive way. What fields are required and what not?

Unfortunately, no, and I think it’s a bug of flyctl on Windows, even in the latest version.

Turned out I ran this command on mac as a workaround.

On WSL also works.