giometrix / MangoSeed

Import/Export data from MongoDb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MangoSeed

Nuget (with prereleases) Nuget (with prereleases)

Codacy Badge Build status

A library/command line utility (that can be installed a .net tool) to import/export data from MongoDb.

The tool is similar to MongoImport/Export, but

  1. can be used as a library, which may be easier to use in test scenarios
  2. has options for parallel file imports
  3. is written in .net, making it easier to customize for a .net developer to customize how the tool works

Command Line Usage

MangoSeed is a cross platform utility (Linux, Windows, OSX) that can be run stand-alone or be installed as a .net tool. The easiest option is to install it as a .net tool (no fuss, easy updating, etc).

Installation

To install MangeSeed as a .net global tool, run the following command:

dotnet tool install --global MangoSeed

You can also install MangoSeed as a local tool:

dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local MangoSeed

✏️ Note

If you are using zsh, the dotnet tool installer does not add it's tools directory to your paths. You can resolve this by adding the following to ~/.zshrc

export PATH=$HOME/.dotnet/tools:$PATH

Usage

MangoSeed has 2 high level capabilities, importing and exporting.

To view all of the import options:

mangoseed import --help

To view all of the export options:

mangoseed export --help

About

Import/Export data from MongoDb

License:MIT License


Languages

Language:C# 100.0%