flyctl mpg now open interactive prompts when a cluster ID is not passed. flyctl mpg attach can even infer the organization based on the app you’re trying to attach the cluster on.
❯ flyctl-dev mpg status
? Select Organization: Akshit Garg (personal)
? Select a Postgres cluster test [3x9jv02p9n8r6qp7] (iad)
Cluster Status
ID = 3x9jv02p9n8r6qp7
Name = test
Organization = akshit-garg-798
Region = iad
Status = ready
Allocated Disk (GB) = 10
Replicas = 1
❯ flyctl-dev mpg backups create
? Select Organization: Akshit Garg (personal)
? Select a Postgres cluster test [3x9jv02p9n8r6qp7] (iad)
Creating full backup for cluster 3x9jv02p9n8r6qp7...
Backup queued successfully!
ID: backup_1762421787_de39821772d0011f
You can still pass in the cluster ID as an argument.
❯ flyctl-dev mpg status 3x9jv02p9n8r6qp7
Cluster Status
ID = 3x9jv02p9n8r6qp7
Name = test
Organization = akshit-garg-798
Region = iad
Status = ready
Allocated Disk (GB) = 10
Replicas = 1
Also, the format to pass the cluster ID is now consistent between commands. Earlier, some commands used to accept the cluster ID as a flag (--cluster-id ...) but now all commands use arguments.