Skip to content

Instantly share code, notes, and snippets.

@Nnonexistent
Last active January 1, 2023 03:16
Show Gist options
  • Save Nnonexistent/e2bfe2fffd3fa36112c2aa5c23509c48 to your computer and use it in GitHub Desktop.
Save Nnonexistent/e2bfe2fffd3fa36112c2aa5c23509c48 to your computer and use it in GitHub Desktop.
{
"psFormat": "table {{if gt (len .Image) 40}}{{printf \"%.30s\" .Image}}…{{slice .Image (slice .Image 7|len)}}{{else}}{{.Image}}{{end}}\\t{{.Command}}\\t{{.Status}}\\t{{printf \"%.30s\" .Ports}}{{if gt (len .Ports) 30}}…{{end}}\\t{{.Names}}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment