memoire 0.1.2

A tool to archive commands
memoire-0.1.2 is not a library.

Memoire


Editable, portable and sharable CLI cheatsheet.

You can search archived commands by keywords in command, annotation, tags and/or collection. The archived commands are editable and removable. Archived commands are saved in json format for editability and portability.

Requirement


This program use jq.

Installation


With Cargo


Make sure you have Cargo installed.

Install with:

cargo install memoire

Usage


CLI


  • Show all:
    memoire
    
  • General search:
    memoire [-s|--search] <keyword_1> <keyword_2> ...
    

TUI


  • Ctrl-c: Quit program at any time.
  • Ctrl-a: To add new bookmark.
  • Up / Down / Left / Right: Move.
  • Enter: To select / submit.
  • Esc: To deselect / go back.

Memoire Collections


A personal collections of commands cheatsheets in json format compatible with Memoire can be found here

Upgrade from below version 0.1.2


If you installed a memoire version below 0.1.2. Run following script to move previous bookmarks into default collection:

cat ~/.memoir_history.json | jq -s '.[0][] |= . + {"collection": "default"} | .[0]' > ~/.memoire/default.json

License


Memoire is under Apache 2.0 License.