code: func NodeModeFromString(mode string) (NodeMode, error) {
  	switch mode {
  	case "single":
  		log.Warn("CLU Config: 'single' mode deprecated. converting to 'dev' mode")
  		return ModeDev, nil
  	case "multi":
  		log.Warn("CLU Config: 'multi' mode deprecated. converting to 'shard' mode")
  		return ModeShard, nil
  	case "dev", "Dev":
  		return ModeDev, nil
  	case "shard", "Shard":
  		return ModeShard, nil
  	case "query", "Query":
  		return ModeQuery, nil
  	}
  	return 0, InvalidNodeModeErr(mode)
  }
docs: // capitalized form is what stringer (.String()) generates and is used for json serialization