mi

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 5 Imported by: 0

README

Mi CLI

This is a simple CLI to make encrypting/decrypting projects secrets that are safely stored in Konbini among other features such as registering to Konbini, viewing all your bentos, etc... For all the available commands read Command List

Getting Started

Method 1: Download from releases
# Change the variables as needed
curl -L -o mi https://github.com/juancwu/mi/releases/download/$VERSION/mi-$OS-$ARCH

# Make downloaded binary an executable
chmod +x mi

# Move executable to bin
sudo mv mi /usr/bin
Method 2: Build Locally

You will need to have Go installed in your local machine.

# Clone the repo and cd into the repo
git clone https://github.com/juancwu/mi.git

# Build
make

# Move executable to bin
sudo mv mi /usr/bin

You can remove the repository if you want to.

Command List

Use mi [command] --help for more information about a specific command.

Command Description
mi auth signup Use to register and unlock the features of Konbini.
mi auth signin Use to sign into your Konbini account.
mi auth verify-email <code> Verify Konbini account email. Get code from an email sent to your account.
mi auth resend-verification <email> Request Konbini to resend a new email verification.
mi bento order Request the data of a bento stored in Konbini. This requires a proper .miconfig.yaml present in the working directory.
mi bento prepare <bento-name> Prepares a new empty bento which is stored in Konbini.
mi bento fill <path-to-env-file> Fills a bento with the key value pairs in the given env file.
mi bento ingridient rename <old-name> <new-name> Renames an existing ingridient from a bento. Make sure you have the proper .miconfig.yaml and the private key for the bento.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL