5 stable releases

1.2.0 Jun 7, 2024
1.1.0 Mar 7, 2024
1.0.2 Mar 7, 2024

#1715 in Command line utilities

Download history 5/week @ 2024-09-21

352 downloads per month

MIT license

18KB
478 lines

notiz

Notiz (pronounced /noˈtiːts/, the german word for note) is a tool that allows to to quickly save some text for later.

Usage

$ echo "Hello, World!" | notiz # Store "Hello, World!" in a new note
# -> Stored the data in the note 'jolly-reading'

$ notiz # Print the contents of the last created/accessed note
# -> Hello, World! 

$ notiz -l # List all notes
# -> jolly-reading*
#    ruddy-speaker

$ notiz -n ruddy-speaker # Access a note that is not the last used one
# -> Hello, Mars!

$ echo "Hello, Jupiter!" | notiz -n jupiter-greeting # The -n flag can also be used to specify the name for a new note, instead of generating one
# -> Stored the data in the note 'jupiter-greeting'

$ notiz -i # Print more information about a note
# -> Hello, Jupiter!
#    Accessing note 'jupiter-greeting'
#    Description: ''
#    Created: 2024-03-08 07:41:21
#    Last accessed: 2024-03-08 07:43:06.343292454 +01:00

$ notiz -d "A greeting for beings from other planets" # Set a description for a note
$ notiz -l # The description is shown on the list
# -> jolly-reading
#    ruddy-speaker - A greeting for beings from other planets*

...and more!

Installation

Using cargo:

$ cargo install notiz

Dependencies

~2.6–4MB
~66K SLoC