Crates.io | my-notes |
lib.rs | my-notes |
version | 1.3.0 |
source | src |
created_at | 2024-03-27 17:32:31.704083 |
updated_at | 2024-04-18 18:26:35.660512 |
description | A simple note taking app for taking hierarchical notes in markdown |
homepage | |
repository | https://github.com/DeForestt/my_notes |
max_upload_size | |
id | 1188226 |
size | 39,325 |
My Notes
is a simple command-line note-taking app designed to help you organize and manage your notes efficiently. It provides essential functionalities like creating, editing, listing, and deleting notes.
To use My Notes
, follow these steps:
Installation
Building the App
cargo build --release
to compile the application.Running the App
my-notes [SUBCOMMAND] [OPTIONS]
new
- Create a new note.
my-notes new <path>
-c
--content
: string - add inline content-b
--blank
: boolean - mark as a blank notels
- List notes.
my-notes ls [path]
edit
- Edit an existing note.
my-notes edit <path>
rm
- Delete a note.
my-notes rm <path>
-f
--force
: boolean - force delete without confirmationsearch
- Find notes by keyword.
my-notes search <keyword>
echo
- Print the contents of a note.
my-notes echo <path>
ßhelp
- Display help information.
my-notes help [SUBCOMMAND]
version
- Display version information.
my-notes version
view
- View a note with rendered markdown.
my-notes view <path>
my-notes new my-note
my-notes ls
my-notes ls my-note.subnote
my-notes edit my-note
my-notes rm my-note
my-notes rm my-note --force
my-notes search keyword
my-notes echo my-note
my-notes view my-note
my-notes version
my-notes help
EDITOR
environment variable to change it.~/.notes
directory.search
subcommand, the search results are stored in the .register
file.reg:<index>
to reference the value in the search register at a specific index. This will help avoid needing to type out the full path of the note.my-notes search keyword
#Output
this.is.a.note_that_contains_keyword
this.is.another.note_with_key_word
my-notes edit reg:0 # edit this.is.a.note_that_contains_keyword
my-notes edit reg:1 # edit this.is.another.note_with_key_word
my-notes view reg:0 # view this.is.a.note_that_contains_keyword
my-notes view reg:1 # view this.is.another.note_with_key_word
note: The search register is overwritten every time a new search is performed.
My Notes
v0.1.0
For any issues or questions, please open an issue on GitHub.
This app is released under the MIT License.
Note: Replace placeholders (<path>
) with actual values.