Memo CLI is a command-line tool for managing key-value pairs with optional time-to-live (TTL) values. This tool allows you to add, get, remove, list, set, and copy memo entries.
Memo CLI requires Rust to be installed on your system.
To install Memo CLI, clone the repository and install using install script:
curl https://raw.githubusercontent.com/pbrochar/memo/refs/heads/main/install.sh | bashAdd a new memo entry with a key and value. Optionally, you can specify a TTL value in seconds.
memo add mykey "This is a value" --ttl 3600Get the value of a memo entry by key.
memo get mykeyYou can get the value in your clipboard by using the --clipboard or -c flag.
memo get -c mykeyCopy the value of a memo entry to your clipboard.
It's a shortcut for memo get -c.
memo cp mykeySet the value of a memo entry by key. It's useful if you want to update a key.
Remove a memo entry by key.
List all memo entries. You can use the --pretty flag to display the list in a more readable format.
Memo CLI supports dynamic auto-completion. For exemple:
memo get <tab>