Skip to content

Watson is a utility for note management and search from your terminal

License

Notifications You must be signed in to change notification settings

devanshbatham/Watson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watson

Watson is a utility for note management and search from your terminal

📋 Requirements 🏗️ Installation ⛏️ Usage

watson

Requirements

  • Python 3.x
  • argparse module
  • sqlite3 module
  • rich module

Installation

git clone https://github.com/devanshbatham/watson
cd watson
sudo chmod +x setup.sh
./setup.sh

Usage

watson [subcommand] [options]

Subcommands

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

Examples

Initializing the Database

watson init

Adding a Note

watson add "This is a new note" -t "tag1, tag2"

Viewing Notes

watson view

Deleting Notes

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

Searching Notes

watson search "keyword"

About

Watson is a utility for note management and search from your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published