abra/cli/app/remove.go
Roxie Gibson 38d8b51bd5
refactor: moved a lot of flags & added comments
Comments added to fix the golint errors on exported things need comments
2021-08-02 07:36:35 +01:00

25 lines
464 B
Go

package app
import (
"coopcloud.tech/abra/cli/internal"
"github.com/urfave/cli/v2"
)
// Volumes stores the variable from VolumesFlag
var Volumes bool
// VolumesFlag is used to specify if volumes should be deleted when deleting an app
var VolumesFlag = &cli.BoolFlag{
Name: "volumes",
Value: false,
Destination: &Volumes,
}
var appRemoveCommand = &cli.Command{
Name: "remove",
Flags: []cli.Flag{
VolumesFlag,
internal.SecretsFlag,
},
}