Troubleshoot
When you run a CLI command, you might occasionally miss out the required parameters or have entered an invalid input. In such cases, you will be prompted with an error message saying "An error occurred while doing the operation. Run 'show-last-error' to see the details."
Run the below command to view the error message in detail.
To view detailed error message
Copiedzmail:>show-last-errorOutput
Copiedzmail:>alias create --name new --command "account list"
An error occurred while doing the operation. Run 'show-last-error' to see the details.
zmail:>show-last-error
Alias 'new' already exists