code: func (c *EditPhysicalHostCmd) Run(app subcommands.Application, args []string, env subcommands.Env) int {
  	ctx := cli.GetContext(app, c, env)
  	// TODO(smut): Validate required fields client-side.
  	req := &crimson.UpdatePhysicalHostRequest{
  		Host: &c.host,
  		UpdateMask: getUpdateMask(&c.Flags, map[string]string{
  			"machine": "machine",
  			"os":      "os",
  			"state":   "state",
  			"slots":   "vm_slots",
  			"vdc":     "virtual_datacenter",
  			"desc":    "description",
  			"tick":    "deployment_ticket",
  		}),
  	}
  	client := getClient(ctx)
  	resp, err := client.UpdatePhysicalHost(ctx, req)
  	if err != nil {
  		errors.Log(ctx, err)
  		return 1
  	}
  	printPhysicalHosts(c.f.tsv, resp)
  	return 0
  }
docs: // Run runs the command to edit a physical host.