This is my solution for the task-tracker challenge from roadmap.sh.
- Add a new task with a description and save it to a JSON file.
- Update the description of an existing task.
- Delete a task.
- List all tasks or filter them by status:
todo,in-progressordone. - Mark tasks as:
in-progress,doneortodo.
You must have installed Python 3.7.0 or greater to use this program.
Click here to download Python.
Clone the repository and cd to the project folder:
git clone https://github.com/jislein/task-tracker-cli.git
cd task-tracker-cliYou can use -h or --help with any command to see its usage message.
py task-tracker.py --help # To see the list of available commandsAdd a task:
py task-tracker.py add "Start learning Python"Update a task:
py task-tracker.py update 1 "Start learning Python by building projects"Delete a task:
py task-tracker.py delete 1Mark a task as: in-progress, done or todo:
py task-tracker.py mark-in-progress 1
py task-tracker.py mark-done 1
py task-tracker.py mark-todo 1List all tasks:
py task-tracker.py listList task by its status:
py task-tracker.py list --done
py task-tracker.py list --todo
py task-tracker.py list --in-progress