fix: add app name to ps output + docs
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			Part of coop-cloud/organising#252.
This commit is contained in:
		@ -26,9 +26,10 @@ var watchFlag = &cli.BoolFlag{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var appPsCommand = &cli.Command{
 | 
			
		||||
	Name:    "ps",
 | 
			
		||||
	Usage:   "Check app status",
 | 
			
		||||
	Aliases: []string{"p"},
 | 
			
		||||
	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,
 | 
			
		||||
	},
 | 
			
		||||
@ -75,7 +76,7 @@ func showPSOutput(c *cli.Context) {
 | 
			
		||||
		logrus.Fatal(err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tableCol := []string{"image", "created", "status", "ports", "names"}
 | 
			
		||||
	tableCol := []string{"image", "created", "status", "ports", "app name", "services"}
 | 
			
		||||
	table := abraFormatter.CreateTable(tableCol)
 | 
			
		||||
 | 
			
		||||
	for _, container := range containers {
 | 
			
		||||
@ -90,6 +91,7 @@ func showPSOutput(c *cli.Context) {
 | 
			
		||||
			abraFormatter.HumanDuration(container.Created),
 | 
			
		||||
			container.Status,
 | 
			
		||||
			formatter.DisplayablePorts(container.Ports),
 | 
			
		||||
			app.StackName(),
 | 
			
		||||
			strings.Join(containerNames, "\n"),
 | 
			
		||||
		}
 | 
			
		||||
		table.Append(tableRow)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user