/NotesOnly

Simple note taking from cli.

Primary LanguagePythonMIT LicenseMIT

NotesOnly

noon logo

simple CLI note-taking app

Takes notes directly from your terminal

Introducing our new Python-based CLI note-taking application! It's designed to help you organize your notes, with the power of classes.

this app is mainly intended for any OS that doesn't have GUI and solves the struggle of storing text for future usage.

Demo

Here is Demo of usage.

demo

Installation

Clone the repository and install:

git clone https://github.com/ThDag/NotesOnly.git
cd NotesOnly
pip install -r requirements.txt
sudo python setup.py

Usage

Class-feature

The class feature is a way to organize your notes. It is a sort of hierarchy you can access or view all notes in class it has 3 classes:

  1. upper id -> 1
  2. middle; id -> 2
  3. lower; id -> 3

Classes are given to notes using there id numbers

Commands

NotesOnly is extremely simple and easy to use. It features simple commands with few parameters.

addn

Add a new note.

Ex.

noon addn 2

then enter the note in the interactive note entry window

this will add a new middle class note

addn takes 1 argument: classid

Image Description

if class id is not spesified it will present with a interactive class id selection window

deln

Delete note

Ex.

noon deln 2

this will delete the note with id number 2

deln takes 1 parameter: note id, deletes the note with the note id. Note: note id can take any number of ids seperated with white space it will delete all the listed notes.

Note: give the index number '00' to delete the last/newest note

to see whats the id of a note see all notes or see what you are deleting with viewn

Image Description

dela

Delete all the notes

noon dela

this will activate a interactive window asking for confirmation to delete all the notes then it will proceed to delete all the notes.

dela takes no arguments. But it asks for confirmation before deleting all the notes.

Image Description

editn

Edit note

Ex.

noon editn 2

this will open interactive window to edit note with the id number 2

editn takes 1 parameter: note id, edits the note with the note id

Image Description

viewn

View a specific note

Ex.

noon viewn 2

this will print the note with the id number 2

viewn takes 1 parameter: note id, prints the note with the note id

Image Description

viewc

View a specific class

Ex.

noon viewc 3

this will print all the lower class notes

viewc takes 1 parameter: class id, prints the notes with the class id

there is only 3 class ids: Class feature

Image Description

viewa

view all the notes

Ex.

noon viewa

this will print all the notes

viewa takes no parameter just prints all the notes

Image Description

sern

search for notes

noon sern 1 2

then enter the query you want to search in interactive window This will search in the 1 and 2 classes.

sern takes 1 parameter; class_id is the classes to filter. It can be given multiple or none. If given none it will show from all classes. In Interactive menu it asks for query to search then prints the results.

Image Description

-Taha Dağıstanlı