code: func (c *EditMachineCmd) 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.UpdateMachineRequest{
  		Machine: &c.machine,
  		UpdateMask: getUpdateMask(&c.Flags, map[string]string{
  			"plat":     "platform",
  			"rack":     "rack",
  			"state":    "state",
  			"desc":     "description",
  			"atag":     "asset_tag",
  			"stag":     "service_tag",
  			"tick":     "deployment_ticket",
  			"dracpass": "drac_password",
  		}),
  	}
  	client := getClient(ctx)
  	resp, err := client.UpdateMachine(ctx, req)
  	if err != nil {
  		errors.Log(ctx, err)
  		return 1
  	}
  	printMachines(c.f.tsv, resp)
  	return 0
  }
docs: // Run runs the command to edit a machine.