Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return exit code 1 on failure and silence redundant cobra errors (#86)
* Return Exit Code 1 on Failure Previously, the code returned exit code 0 even when the template generation failed. Now, if an error occurs, the program will return exit code 1. * Silence Errors from Cobra Execution Previously, Cobra was printing non-formatted errors. However, we already log these errors via zap. This fix silences Cobra from printing redundant logs.
- Loading branch information