Skip to content

solankybasant/TaskBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskBox

Developed and implemented a command-line interface application using the Typer framework to streamline and enhance task management for Linux users.

Features

  • Add new tasks to your ToDo list

  • Mark tasks as completed

  • List all tasks

  • Remove completed tasks or clear the entire list

Installation

TaskBox is written in Python and relies on the typer library for creating the CLI. To install TaskBox, follow these simple steps:

  1. Clone the TaskBox repository or download the source code:
git clone https://github.com/solankybasant/TaskBox
  1. Navigate to the TaskBox directory:
cd TaskBox
  1. Install the required dependencies using pip:
pip install -r requirements.txt

Usage/Examples

  1. To add a new task:
python -m mafia add <taskName>
  1. To mark a task as completed:
python -m mafia complete <taskNumber>
  1. To list all tasks:
python -m mafia show
  1. To remove a task:
python -m rm <taskNumber>
  1. To reset the database:
python -m mafia reset
  1. To set a database location:
python -m mafia init
  1. To remove forcefully (without confirmation)
python -m mafia reset --force

For a complete list of commands, use the --help flag with TaskBox:

python -m mafia --help

Also, you can add an alias to your shell profile (e.g., .bashrc or .zshrc) to access TaskBox conveniently and use a custom alias (e.g., td):

alias td='cd ~/TaskBox/ && function td {
  if [ "$1" = "add" ] && [ -n "$2" ]; then
    python -m mafia add "$2"
  elif [ "$1" = "show" ]; then
    python -m mafia show
  elif [ "$1" = "com" ] && [ -n "$2" ]; then
    python -m mafia complete "$2"
  elif [ "$1" = "rm" ] && [ -n "$2" ]; then
    python -m mafia rm "$2"
  else
    python -m mafia show
  fi
}'

About

CLI based To-do list for linux users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages