code: func AutoAddResources(fileName string, keys []string, c *cli.Context) error {
  	OutStoreFormat = getStoreFormatFromFileName(fileName)
  	config := util.Config{
  		IgnoreList: c.GlobalStringSlice("exclude-attr"),
  		Timeout:    int(c.Duration("timeout") / time.Millisecond),
  	}
  
  	var gossConfig GossConfig
  	if _, err := os.Stat(fileName); err == nil {
  		gossConfig = ReadJSON(fileName)
  	} else {
  		gossConfig = *NewGossConfig()
  	}
  
  	sys := system.New(c)
  
  	for _, key := range keys {
  		if err := AutoAddResource(fileName, gossConfig, key, c, config, sys); err != nil {
  			return err
  		}
  	}
  	WriteJSON(fileName, gossConfig)
  
  	return nil
  }
docs: // Simple wrapper to add multiple resources