arunoda / pick-mongo-primary

Get MongoDB Shell command to PRIMARY from the Mongo URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pick-mongo-primary

Get MongoDB Shell command to PRIMARY from the Mongo URL

Simply call following command

npm install -g pick-mongo-primary
mongo $(pick-mongo-primary <MONGO_URL>)

About

Get MongoDB Shell command to PRIMARY from the Mongo URL

License:MIT License


Languages

Language:JavaScript 100.0%