Synchronously run a CLI command and return the stdout, optionally printing the logs and error messages
Synchronously run a CLI command and return the stdout, optionally printing the logs and error messages