📋 Requirements
🏗️ Installation
⛏️ Usage
- Python 3.x
argparse
modulesqlite3
modulerich
module
git clone https://github.com/devanshbatham/watson
cd watson
sudo chmod +x setup.sh
./setup.sh
watson [subcommand] [options]
Subcommand | Description |
---|---|
init |
Create the notes table in the database |
add |
Add a new note to the database |
view |
View all notes in the database |
delete |
Delete notes from the database |
search |
Search notes in the database for a keyword |
For options and arguments of each subcommand, run:
watson [subcommand] --help
watson init
watson add "This is a new note" -t "tag1, tag2"
watson view
watson delete [options]
- Delete all notes with a specific tag:
watson delete -t "tag1"
- Delete all notes:
watson delete -a
- Delete note with specified ID:
watson delete -i 3
watson search "keyword"