forked from coop-cloud/abra
WIP app errors place holder
This commit is contained in:
parent
a18d0e290d
commit
6be2f36334
|
@ -35,5 +35,6 @@ to scaling apps up and spinning them down.
|
|||
appSecretCommand,
|
||||
appVolumeCommand,
|
||||
appVersionCommand,
|
||||
appErrorsCommand,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
package app
|
||||
|
||||
import (
|
||||
"coopcloud.tech/abra/pkg/autocomplete"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
var appErrorsCommand = &cli.Command{
|
||||
Name: "errors",
|
||||
Usage: "List errors for a deployed app",
|
||||
Description: `
|
||||
This command will list errors for a deployed app. This is a best-effort
|
||||
implementation and an attempt to gather a number of tips & tricks for finding
|
||||
errors together into one convenient command. When an app is failing to deploy
|
||||
or having issues, it could be a lot of things. This command is best accompanied
|
||||
by "abra app logs <app>".
|
||||
`,
|
||||
Aliases: []string{"e"},
|
||||
Flags: []cli.Flag{},
|
||||
BashComplete: autocomplete.AppNameComplete,
|
||||
Action: func(c *cli.Context) error {
|
||||
// TODO: entrypoint error
|
||||
// TODO: ps --no-trunc errors
|
||||
// TODO: failing healthcheck
|
||||
return nil
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue