Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.3 KB

notes-cli

A Python based CLI for taking notes from your terminal.

This application was built using Click, which is a wonderful Python package for building interactive CLIs.

Help Page Screenshot

Installation

PIP

We're published to PyPI, which means you can install this package directly through Pip.

pip install py-notes

Local

You must first clone this repository with: git clone https://github.com/Saakshaat/notes-cli

Then, after cding into its directory, install the executable on your system with: pip install --editable .

If you don't want to have this installed globally, you can run it in a virtual environment. To create a virtual env, go to the repo's directory and on the top-level run

  • virtualenv venv
  • . venv/bin/activate
  • pip install --editable .

Running

After installing the CLI successfully, you can run it from whichever environment you installed it in with

notes <command>

show command demo

The application uses a SQLite database to save notes in memory and maintains a threshold of (currently) 25 notes.

When the total number of notes reaches the threshold, it deletes the oldest note in memory before adding the new note.