memoire

Crates.iomemoire
lib.rsmemoire
version0.1.2
sourcesrc
created_at2020-10-26 08:05:47.995326
updated_at2022-01-29 19:58:33.582438
descriptionA tool to archive commands
homepagehttps://github.com/Phoenix-Chen/Memoire
repositoryhttps://github.com/Phoenix-Chen/Memoire
max_upload_size
id305530
size1,719,879
(Phoenix-Chen)

documentation

README

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.

Commit count: 10

cargo fmt