code: func NewFlags() Flags {
  	return Flags{
  		TargetType:      DeviceType,
  		DeviceHostname:  "",
  		DeviceRegion:    "",
  		DeviceRole:      "default",
  		DeviceNetwork:   "",
  		TaskServiceName: "",
  		TaskJobName:     "",
  		TaskRegion:      "",
  		TaskHostname:    "",
  		TaskNumber:      0,
  		AutoGenHostname: false,
  	}
  }
docs: // NewFlags returns a Flags struct with sensible default values.  Hostname,
  // region and network flags are expensive to compute, so get assigned default
  // values later in SetDefaultsFromHostname.