lets-cli/lets

Show depends tree for failed command

Opened this issue · 0 comments

For commands like these:

commands:
  build-app:
     ...
  run-app:
    depends: [build-app]
    ...

if build-app fails we show:

failed to run command 'build-app': exit status 130
failed to run command 'run-app': exit status 130

But we can make it something like

'run-app' ->
   'build-app' failed: exit status 130
    ^^^^^^^^^

or with more verbosity

'build-app' failed: exit status 130

'run-app' ->
   'build-app'
    ^^^^^^^^^