Skip to content

exact-labs/mango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mango is a simple key value database meant for your cli. Helps you store values for your scripts.

Quick Start

See the installation section for how to install just on your computer. Try running mango --version to make sure that it's installed correctly.

~ $ mango set hello world
added key 'hello' with value 'world'

Mango supports setting/removing values without any output, with the -q or --quiet argument

~ $ mango del hello -q
# notice the lack of output

Mango also supports saving the entire store to a file

~ $ mango save file.txt
saved store '~/.mango' to 'file.txt'

For more commands, check out mango --help

Installation

Pre-built binaries for Linux, MacOS, and Windows can be found on the releases page.

Building

  • Clone the project git clone https://github.com/exact-labs/mango.git
  • Open a terminal in the project folder
  • Check if you have cargo (Rust's package manager) installed, just type in cargo
  • If cargo is installed, run cargo build --release
  • Put the executable into one of your PATH entries
    • Linux: usually /bin/ or /usr/bin/
    • Windows: C:\Windows\System32 is good for it but don't use windows