🐛 correct error and exit status handling #32
Labels
architecture-improvement
Improves the overall architecture
bug::comfirmed
Something isn't working
severity::okay
This issue needs to be addressed within near time
Milestone
Currently, command handling functions don't return an error, and no actual errors are handled at the root command. Thus, git-nest returns an exit status of
0
, which is false behaviour when errors do occur.Cobra has this functionality built-in:
I see no reason to not utilize
RunE
instead ofRun
.The text was updated successfully, but these errors were encountered: