New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cli-algolia-manager

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-algolia-manager

The CLI to facilitate the add/reindex/delete data from algolia indexes

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cli-algolia-manager

Cover Image
The CLI to help to facilitate add/delete/reindex management data from Algolia indexes.

Easy to use

npm install -g .
clialgmanager index=[name] lang=[lang]

ATENTION: config file required to perform command.

The config file should be: ~/.algolia/conf.json.

{
	"key": {
		"app": "OSJ19HQ1NZ", // just an example
		"api": "ebmmf0za524aoiucjek188mmapp130ad" // just an example
	},
	"lang": ["en", "ptbr"],
	"blog": {
		"en": {
			"name": "blog-rgajr-en",
			"filepath": "/Users/robson.junior/development/rgajr-blog/_site/en/algolia/data/blog.json"
		},
		"ptbr": {
			"name": "blog-rgajr-ptbr",
			"filepath": "/Users/robson.junior/development/rgajr-blog/_site/pt-br/algolia/data/blog.json"
		}
	}
}
ATTRIBUTETYPEDESCRIPTION
keyObjectContains the identify attributes for access the app and use the api
key.appStringAlgolia APP id
key.apiStringAlgolia API key
langListThe lang enabled to be used into index validation
[blog]ObjectCan be N objects, The name is optional, used into index param, like index=blog
blog.enObjectCan be many languages, Contains the object with the name of Algolia index and the filepath data to be publish
blog.en.nameStringThe name of Algolia index
blog.en.filepathStringThe file path with data to be uploaded

Parameters

PARAMETEROPTIONSDESCRIPTION
index---The object into index json configuration
lang---The the lang of index json configuration

Features

FEATURECOMMANDDESCRIPTION
reindexnode index.js index=[name] lang=[lang]This command clean the index and reupload again

Keywords

FAQs

Package last updated on 16 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc