forked from toolshed/abra
		
	docs: volumes pruning docs - more warnings
This commit is contained in:
		@ -23,16 +23,21 @@ var volunesFilter bool
 | 
			
		||||
 | 
			
		||||
var volumesFilterFlag = &cli.BoolFlag{
 | 
			
		||||
	Name:        "volumes, v",
 | 
			
		||||
	Usage:       "Prune volumes",
 | 
			
		||||
	Usage:       "Prune volumes. This will remove app data, Be Careful!",
 | 
			
		||||
	Destination: &volunesFilter,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var serverPruneCommand = cli.Command{
 | 
			
		||||
	Name:        "prune",
 | 
			
		||||
	Aliases:     []string{"p"},
 | 
			
		||||
	Usage:       "Prune a managed server; Runs a docker system prune",
 | 
			
		||||
	Description: "Prunes unused containers, networks, and dangling images",
 | 
			
		||||
	ArgsUsage:   "[<server>]",
 | 
			
		||||
	Name:    "prune",
 | 
			
		||||
	Aliases: []string{"p"},
 | 
			
		||||
	Usage:   "Prune a managed server; Runs a docker system prune",
 | 
			
		||||
	Description: `
 | 
			
		||||
Prunes unused containers, networks, and dangling images.
 | 
			
		||||
 | 
			
		||||
If passing "-v/--volumes" then volumes not connected with a deployed app will
 | 
			
		||||
also be removed. This can result in unwanted data loss if not used carefully.
 | 
			
		||||
	`,
 | 
			
		||||
	ArgsUsage: "[<server>]",
 | 
			
		||||
	Flags: []cli.Flag{
 | 
			
		||||
		allFilterFlag,
 | 
			
		||||
		volumesFilterFlag,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user