rem-cli

Crates.iorem-cli
lib.rsrem-cli
version0.2.3
sourcesrc
created_at2020-09-24 21:08:23.496849
updated_at2020-11-19 23:41:10.055891
descriptionA CLI tool to help you remember things
homepage
repository
max_upload_size
id292662
size32,767
Max Wagner (wagnerm)

documentation

README

rem-cli

Remember things, on the CLI

Installation

$ cargo install rem-cli

Or clone this repository and compile!

Usage

$ rem-cli add Is mayonnaise an instrument?

$ rem-cli add 987654

$ rem-cli cat
Is mayonnaise an instrument?
987654

Editing notes

You can edit notes with the edit command.

Please be aware:

  • You must have $EDITOR set in your environment
  • If your $EDITOR adds a trailing new line at the end of the note, it will be trimmed.
$ rem-cli cat -n
0: Is mayonnaise an instrument?
1: 987654

$ rem-cli edit 0
...
Note committed! Squidward, I used your clarinet to unclog my toilet!

$ rem-cli cat -n
0: Squidward, I used your clarinet to unclog my toilet!"
1: 987654

Notes Path

By default notes are stored in $HOME/rem_notes.txt.

Optionally you can change the notes path by setting an environment variable. You can insert this into your shell profile.

$ export REM_CLI_NOTES_PATH=/my-cloud-drive/notes.rem

License

MIT License

Commit count: 0

cargo fmt