refactor: use framework for running function against all apps

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-21 23:55:03 -05:00
parent 1d93246af8
commit 7cdc68a007
6 changed files with 47 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
```
logs <app> [-h] [-t] [-n num] [-q] [-p process] # Display recent log output
logs:failed [<app>] # Shows the last failed deploy logs
logs:failed [--parallel count] [--all|<app>] # Shows the last failed deploy logs
```
## Usage
@@ -46,8 +46,8 @@ You can retrieve these logs by using the `logs:failed` command
dokku logs:failed node-js-app
```
You can also retrieve the failed logs for each app:
You may also fetch all failed app logs by using the `--all` flag.
```shell
dokku logs:failed node-js-app
dokku logs:failed --all
```