📋 Requirements
🏗️ Installation
⛏️ Usage
- Python 3.x
argparsemodulesqlite3modulerichmodule
git clone https://github.com/devanshbatham/watson
cd watson
sudo chmod +x setup.sh
./setup.shwatson [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] --helpwatson initwatson add "This is a new note" -t "tag1, tag2"watson viewwatson 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 3watson search "keyword"