Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/telkomdev/mlongo

Command Line tool for utilize MongoDB
https://github.com/telkomdev/mlongo

cli cli-app go golang mongodb

Last synced: about 5 hours ago
JSON representation

Command Line tool for utilize MongoDB

Awesome Lists containing this project

README

        

# Mlongo

MongoDB Command Line Utility.

Current features

- (Manage MongoDB Indexes with easy) With Mlongo, you can `create`, `show indexes`, and `drop index` with simple command line program.

### Usage

Build: this command will produce a binary file insde `bin` folder.
```shell
$ git clone https://github.com/telkomdev/mlongo.git
$ cd mlongo/
$ make build
```
Export `bin` folder from your environment file. Eg: `.bash_profile` or `.profile` file. So `mlongo` will available in all place.

```shell
$ vi ~/.bash_profile
```

Add this line (Adjust with yours).
```
export MLONGO_HOME=/Users/wuriyanto/Documents/mlongo
export PATH=$PATH:$MLONGO_HOME/bin
```

```shell
$ source ~/.bash_profile
```

Show available options
```shell
$ mlongo -h
```