A command-line note-taking tool to mark important things throughout your day.
mark
- Add a new mark- needs a date and time to add a mark
- provide a date using
--today
,--today+{int}
,--today-{int}
- provide a time using
--time=HH:MM or HH:MM:SS or HH-MM or HH-MM-SS
- if no date or time is provided, a date must be entered using the date picker or time using the text field respectively.
marks
- List all marks- needs a date to list marks for that date (same constraints as
mark
command)
- needs a date to list marks for that date (same constraints as
unmark
- Remove a mark- needs a date to list marks from which selection to delete needs to be made
- one can multi-select marks to delete (same constraints as
mark
command)
- Clone the repo and install dependencies using
cargo build
- To initialize the database, download the
setup.sql
file from this repository - Then run the following command in your terminal:
This will create the necessary tables in the database
sqlite3 database.db < setup.sql
- Be sure to update the name of the database in your
.env
file if you used something apart fromdatabase.db
- Run the binary using
cargo run <command> <args>