Small Wins in Python: How a CLI Todo App Changed My Perspective on Coding
It’s been a while since my first post “Navigating the Fog of Tech: My Journey as an Introverted Tech Enthusiast”, In that time, a lot has happened so there may be a slight change in my writing style. Based on how you perceive it, may be considered as improvement or lapsing. In short I kinda left python as my base tech skill and focused more on web dev as it was more easier and you could see the result easily. I also acquire a new skill set mainly related to my undergraduate degree that is in electronics domain. Well this post isn’t about those skill set but instead about me getting back to python with a simple CLI application which turned out to be actual practical tool for my use.
So here is a small brief about the project it a small todo list manager CLI application for those who like to use terminal all the time like people who just don’t wanna go out of terminal😐. And here is the link to repository if you wanna try it out
Here is the link to the video from where i got the project 😶🌫️ i basically made it in python as it was my base language and i wanted to see if i still had the that edge in python. And not so surprisingly enough it was mostly gone but the thing was I was able to quickly pick it back up. It’s like revising for a topic you read about in last semester and you are giving exam for it now. Leaving all this aside lets get into the project description.
Overview of whole project
This project is basically a command-line interface (CLI) tool in Python to manage a simple to-do list, with features like adding, editing, toggling completion, and deleting tasks. The app also saves tasks persistently in a JSON file.
Feature :
Add a Task – Create a new task with a title and add it to the list.
Delete a Task – Remove a task from the list by its index.
Toggle Completion – Mark a task as complete or incomplete.
Edit a Task – Update the title of an existing task.
View All Tasks – Display all tasks in a neatly formatted table.
The following is a sort of demo i guess….
To Add a task: tasklt add "Prepare blog post on CLI Todo app”
.
Output : Task 'Prepare blog post on CLI Todo app' added
.
To list out tasks : tasklt list
.
My Ending Note
As by now you would have understood this is not a normal tech blog where you get info about some tool or some use straight tutorial but more of a anecdote with a small pinch of some tech related stuff I am doing or have done.
Well if you have read this far I hope you liked it or if you haven’t liked it I am open to all the comments or if you wanna collaborate on some cool project idea you have i am up for it.
Stay tuned for the up coming chapter in the life of an introverted tech enthusiast
Subscribe to my newsletter
Read articles from Leafy directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by