code: func NewTaskFormat(source string, quiet bool) formatter.Format {
  	switch source {
  	case formatter.TableFormatKey:
  		if quiet {
  			return formatter.DefaultQuietFormat
  		}
  		return defaultTaskTableFormat
  	case formatter.RawFormatKey:
  		if quiet {
  			return `id: {{.ID}}`
  		}
  		return `id: {{.ID}}\nname: {{.Name}}\nimage: {{.Image}}\nnode: {{.Node}}\ndesired_state: {{.DesiredState}}\ncurrent_state: {{.CurrentState}}\nerror: {{.Error}}\nports: {{.Ports}}\n`
  	}
  	return formatter.Format(source)
  }
docs: // NewTaskFormat returns a Format for rendering using a task Context