forked from toolshed/abra
		
	refactor: moved a lot of flags & added comments
Comments added to fix the golint errors on exported things need comments
This commit is contained in:
		@ -5,7 +5,20 @@ import (
 | 
			
		||||
	"github.com/urfave/cli/v2"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var appRemoveCommand = &cli.Command{
 | 
			
		||||
	Name:  "remove",
 | 
			
		||||
	Flags: []cli.Flag{internal.VolumesFlag, internal.SecretsFlag},
 | 
			
		||||
// 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,
 | 
			
		||||
	},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user