Add option for generating curl command
Currently when we are getting a 500 error back it is difficult to debug what is going wrong and we need to replicate the rest api call via curl.
Would be nice to have an option in order to generate the curl command that replicates the mongocli call in order to easily test the command.
This is valid for Atlas/OM/CM

Hi, thanks for voting on this Atlas CLI issue to provide support for replicating rest api calls via curl when getting, for example 500 errors.
I'm pleased to say that in the latest version of the Atlas CLI (1.42.2 on) API subcommands (`atlas api ....`) will now print http requests and the received responses when you pass the `--debug` flag. For example: `atlas api projects listProjects --debug`.
Please give the new version and capability a try and let us know your feedback.