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

https://github.com/GoberInfinity/mme

Remember me my commands
https://github.com/GoberInfinity/mme

Last synced: about 1 month ago
JSON representation

Remember me my commands

Awesome Lists containing this project

README

        

# ![mme logo](logo-full.png)

[![Build Status](https://travis-ci.org/GoberInfinity/mme.svg?branch=master)](https://travis-ci.org/GoberInfinity/mme)

mme is a search tool that helps you to print commands and their description using a custom file.

![mme screenshot](mme.png)

## Installation

The binary name for rememberme is mme.

[Archives of precompiled binaries for rememberme are available for macOS, Windows and Linux.](https://github.com/GoberInfinity/mme/releases)

## Usage

```
USAGE:
mme.exe [FLAGS] [OPTIONS] [word-to-search]

FLAGS:
--help Prints help information
-a, --all Prints all the commands and their descriptions
-d, --desc Searches the word only in descriptions
-n, --name Searches the word only in names
-V, --version Prints version information

OPTIONS:
-f, --fixed-color Sets the color of NAME, DESC words
-h, --highlight-color Sets the color of the highlighted word
-p, --path Sets the path of the file where mme is going to search
-t, --text-color Sets the color of the text

ARGS:
Word to search in the document specified in the configuration
```

## Examples

#### Basic configuration

You need to specify the path of the file that contains your commands.

```bash
mme --path ~/my_commands
```

The file where `mme` is going to search must have the following structure:

```
# veryComplexCommand -a
> A very explanatory description

# veryComplexCommand
-b
-c
-d
> A very explanatory description
-b means b
-c means c
-d means d
```

The `#` indicates a command and `>` its corresponding description, you need to leave a blank line to separate the commands.

#### Extra configuration

You can change the color of the titles and the text. The available colors are: black, red, green, yellow, blue, purple, cyan and white.

```bash
mme --primary-color blue --secondary-color green
```

#### Searching

You can search by all (name and description):

```bash
mme veryComplexCommand
```

Only by name:

```bash
mme -n veryComplexCommand
```

Only by description:

```bash
mme -d veryComplexCommand
```

#### Special Searching

If you want to search a word with special characters you need to add `--` after you enter all the flags:

```bash
mme -d -- -something
```