I would like to be able to import a library of common tools that I use to make working with MongoDB easier. However, I did not find it easy to import external scripts into the Mongo CLI. Ideally, this will work like Node.js require.
How do I get a job request in the Mongo CLI by default?
Or is there another way to solve the external dependencies of the library?
source
share