Skip to content

aryankumar07/note_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note CLI - A Simple Terminal-Based Todo Manager

NPM Version NPM Downloads OpenSSF Scorecard Badge

Overview

As developers, we spend a significant amount of time in our terminals. Why not have a simple, offline-friendly CLI tool to help manage your project tasks efficiently? Note CLI provides an easy-to-use task management solution, accessible anytime without requiring an internet connection.


📌 Installation

🔹 Install from GitHub

Clone the repository and navigate to its root directory:

git clone https://github.com/aryankumar07/note_cli.git 
cd note_cli

Install dependencies and set up the package globally:

npm install -g

🔹 Install via NPM

You can also install Note CLI using npm:

npm i @tarnished_aryan/note -g

Troubleshooting Installation Issues

If you encounter permission errors, try installing with sudo:

sudo npm i @tarnished_aryan/note -g

If errors persist, remove conflicting files from the specified paths in the error message and retry the installation.


🚀 Getting Started

To get an overview of the CLI, simply run:

note

🔹 Initial Setup

Before using the CLI, initialize it with:

note init

This sets up the necessary configuration for Note CLI to function correctly.


📖 Usage

🔹 General Help

To explore available commands and their usage, run:

note --help

Note : By default a index named Todo conatiners have been made if no flag specified all changes will happen in this container

🔹 Managing Todo Containers

  • List all Todo containers:
    note list
  • Create a new Todo container:
    note create <FileName>
  • Delete a Todo container:
    note delete <FileName>

🔹 Managing Todos

  • Add a new Todo:
    note add <TodoName>
  • Mark a Todo as completed:
    note done <TodoName>

🎯 Advanced Usage with Flags

🔹 Working with Specific Containers

  • List todos from a specific container:
    note list -f <FileName>
  • Add a todo to a specific container:
    note add <TodoName> -f <FileName>
  • Mark a specific todo as done in a container:
    note done <TodoName> -f <FileName>

🔹 Marking All Todos as Done

  • Mark all todos as done:

    note done -a
  • Mark all todos as done in a specific container:

    note done -f <FileName> -a

    🔹 Adding Priorities to Task

  • Note Support 3 types : {High, Medium, low}

  • THe default is set to "LOW" if not specified

    note add <TodoName> -p medium
  • To add to a specific File use the -f flag

 note add <TodoName> -p medium -f <FileName>

🔹Uninstalling Note

  • currently working only for Macos/Linux users
    note uninstall

🤝 Contributing

We welcome contributions! To make changes:

  1. Open an issue to discuss improvements.
  2. Fork the repository and create a feature branch.
  3. Submit a pull request with a detailed explanation.

Please ensure that updates include appropriate tests before submitting.


Enjoy seamless task management with Note CLI! 🚀

About

offline-friendly Cli tool to help manage daily tasks

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors