Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 214 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 214 Bytes

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>)