3 releases

0.1.2 Jan 29, 2022
0.1.1 Nov 7, 2020
0.1.0 Oct 26, 2020

#2948 in Command line utilities

Apache-2.0

1.5MB
13K SLoC

Memoire


Editable, portable and sharable CLI cheatsheet.

memoire demo

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.

Dependencies

~1.9–9.5MB
~67K SLoC