code: func cmdRepairDeployment(params Parameters) *subcommands.Command {
  	return &subcommands.Command{
  		Advanced:  true,
  		UsageLine: "deployment-repair [options]",
  		ShortDesc: "attempts to repair a deployment if it is broken",
  		LongDesc:  "This is equivalent of running 'ensure' in paranoia.",
  		CommandRun: func() subcommands.CommandRun {
  			c := &repairDeploymentRun{}
  			c.registerBaseFlags()
  			c.clientOptions.registerFlags(&c.Flags, params, withRootDir)
  			return c
  		},
  	}
  }
docs: ////////////////////////////////////////////////////////////////////////////////
  // 'deployment-repair' subcommand.