code: func argsOrEnv(args map[string]string, key, env string) string {
    if value, ok := args[key]; ok {
      return value
    }
    return os.Getenv(env)
  }
docs: // argsOrEnv allows you to pick an environmental variable for a setting if the arg is not set