diff --git a/templates/bin/run b/templates/bin/run index ac4d489..486b605 100755 --- a/templates/bin/run +++ b/templates/bin/run @@ -1,3 +1,7 @@ #!/usr/bin/env node require('@anycli/command').run() +.catch(err => { + console.error(err.stack) + process.exitCode = 1 +})