feat: deploy --no-converge-checks & finish app errors

This commit is contained in:
2021-12-24 02:23:46 +01:00
parent 20f7a18caa
commit ab8db8df64
8 changed files with 97 additions and 61 deletions

View File

@ -15,26 +15,17 @@ import (
"github.com/urfave/cli/v2"
)
var watch bool
var watchFlag = &cli.BoolFlag{
Name: "watch",
Aliases: []string{"w"},
Value: false,
Usage: "Watch status by polling repeatedly",
Destination: &watch,
}
var appPsCommand = &cli.Command{
Name: "ps",
Usage: "Check app status",
Description: "This command shows a more detailed status output of a specific deployed app.",
Aliases: []string{"p"},
Flags: []cli.Flag{
watchFlag,
internal.WatchFlag,
},
BashComplete: autocomplete.AppNameComplete,
Action: func(c *cli.Context) error {
if !watch {
if !internal.Watch {
showPSOutput(c)
return nil
}